Given that I am on a screen with
a
carousel slideshow
1 Keyboard only
WHEN I use the tab key to move focus to carousel controls (forward, backward, pause/play, stop)
I SEE focus is strongly visually indicated
Then when I use the spacebar or enter key
I SEE the intended action occurs
Then when I use the arrow keys
I SEE the slides advance or reverse
2 Desktop screenreader
WHEN I use a desktop screenreader (NVDA, JAWS, VoiceOver)
AND
I use the tab key to move focus to carousel controls (forward, backward, pause/play, stop)
I HEARControl name and purpose is clear
I HEARControl identifies itself as a button
I HEARThe number of slides and current position in the carousel is indicated
Then when I use the spacebar or enter key
I HEARthe intended action occurs
Then when I use the arrow keys
I HEARthe slides advance or reverse
3
Mobile screenreader
WHEN I use a screenreader
AND
I swipe to move focus to carousel controls (forward, backward, pause/play, stop)
I HEARControl name and purpose is clear
I HEARControl identifies itself as a button
I HEARThe number of slides and current position in the carousel is indicated
Then when I doubletap
I HEARthe intended action occurs
4 Device settings
When I use Reduced motionI SEECarousel does not auto-advance, motion transitions are disabled
1 Keyboard & screen reader actions
When I use
I see/hear
Tab
Focus moves to carousel controls (forward, backward, pause/play, stop)
Arrow-keys
Advance or reverse the slides
Spacebar
Activates the button
Enter
Activates the button
2 Mobile screenreader gestures
When I use
I hear
Swipe
Focus moves within the carousel
Doubletap
This typically activates most elements
3 Screenreader output
Reads
I hear
Name
Control name and purpose is clear
Role
Control identifies itself as a button
Group
The number of slides and current position in the carousel is indicated
4 Device settings
When I use
I see
Reduced motion
Carousel does not auto-advance, motion transitions are disabled
Code examples
Use semantic HTML
This is one example of an accessible carousel wizard.
It is not the only way to build a carousel, but it meets all the critieria:
The group has a name
New slides titles are announced
Arrow keys advance the slides
NATO alphabet
Alpha/Alfa
1 of 7
Pronounced al fah
Bravo
2 of 7
Pronounced brah voh
Charlie
3 of 7
Pronounced char lee
Delta
4 of 7
Pronounced dell tah dell tah dell tah. Can I help yah help yah help yah?