Skip to content

UCarousel selected dot has no attribute #4403

@entinio

Description

@entinio

Description

When a dot is selected in the UCarousel component, we get no attribute in the element :

  • no data-selected
  • no aria-current for accessibility

Since there is no dots/dot slot, we have no possibility to style these dots when selected or not. The only difference is the bg style being either bg-accented or bg-inverted, which is overwritten if we actually style the background.

Is there any way to add these attributes ? At least for accessibility.

Additional context

No response

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestv3#1289

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions