Disclosure
Carousel
Shows a set of slides one at a time, with buttons to move to the previous or next one.
Demo
Also known as
- Slide show — WAI-ARIA APG
- Image rotator — WAI-ARIA APG
How to recognize it
A wide panel showing one image or card, with arrow buttons at the sides and small dots below that show which slide is visible.
Variations
- Auto-rotating
- Changes slides on a timer, with a stop/start button placed first inside the carousel.
- Tabbed
- The dots are tabs that jump to a specific slide and follow the Tabs keyboard pattern.
Behavior
- The previous and next buttons switch slides; this demo wraps around from the last slide to the first.
- Switching slides does not move focus off the button, and the new slide is announced through a live region.
- If slides rotate automatically, there must be a button to stop rotation, and rotation stops while the carousel has focus or the mouse is over it.
Keyboard
| Key | Action |
|---|---|
| Tab | Moves between the carousel buttons. |
| Enter / Space | Shows the previous or next slide, keeping focus on the button. |
Usage notes
- Do not autoplay. Let the user change slides.
- Do not put information that everyone must read in it, and keep one topic per carousel.
Similar components
- Tabs: A carousel steps through slides in order with previous and next buttons; tabs let the user jump to any panel by its name.
- Pagination: A carousel shows one slide of a small set in place; pagination moves through pages of a long list.
Sources
- WAI-ARIA APG: Carousel (Slide Show or Image Rotator) Pattern (Last checked: )
- デジタル庁デザインシステムウェブサイト「カルーセル」をもとに作成 (Last checked: )