Repository navigation
Replies: 2 comments
|
Currently, the bullets in the carousel function only as visual position indicators, without offering any action that the user can directly perform. Because they are small graphic elements, they can be difficult to perceive, especially in denser layouts. In terms of accessibility and usability, it is recommended that the elements that inform the component's state are also easily understood by all users, including those who rely on assistive technologies or screen readers. Good accessibility practices for carousels suggest providing a clear indication of how many items there are and which item is currently active, as this helps reduce ambiguity and improves understanding of the interface's current state. A more explicit way to communicate this information is to use a textual label in the format "1 of 3", improving on the suggested "1/3", which clearly indicates to the user their position in the carousel and the total number of slides available. With this pattern, instead of interpreting small visual points, all users, including those using screen readers, can directly read the current state and the total number of pages in the carousel, which facilitates navigation and reduces cognitive load. One barrier we may encounter with bullets is that they may not be perceived by users with low vision or when they do not achieve adequate contrast; explicitly visible text on the screen/layout is easier to perceive, interpret, and announce by screen readers, aligning with digital accessibility guidelines (WCAG 1.3.1). Therefore, replacing purely visual bullets with a textual label such as "1 of 3" (
|

Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Goal
Find the best design definition to display information about the current slide and its position against the total slides.
Context
Currently there are two main concerns about the current solution:
First concern is an a11y failure that needs to be solved, second is something we could discuss if impacts user experience.
A solution that could tackle both at the same time is to provide a label that gives information about the current and total slides "4/5". (
currentSlide/totalSlides)Impact
A pageInfo regions instead of bullets could solve the a11y issue since textPrimary and textSecondary are already been tested again all Mistica contexts (This could also be solved by other means)
A pageInfo could give a more deterministic way to understand the current and totalSlides of the carousel.
Discussion Questions
Additional considerations
This textual label may be hidden to assistive technologies since they obtain this information via list and listItems.
This was a proposal already made for multiple alerts, using a numeric indicator of the current/total:
https://www.figma.com/design/pa2on0kieeNVkqYOtZvlmK/Friday-coop--stacked-callouts?node-id=2046-29352&t=TSDZGaJlT3JPFccS-1
Do you have a visual proposal?
https://www.figma.com/design/ByvH6GM7iZb0LxkZFxWHTY/pageInfo-carousel-evolution?node-id=1-3792&t=RRinoDOCM7MVsuoe-4
All reactions