diff --git a/aria-practices.html b/aria-practices.html
index f467d476ba..61882e219a 100644
--- a/aria-practices.html
+++ b/aria-practices.html
@@ -486,23 +486,28 @@
Carousel (Image or Slide Rotator)
issue 43.
- A carousel presents a set of items, referred to as slides, by rotating, i.e., horizontally scrolling, a subset of the slides into view at a time.
- Typically, one slide is made visible at a time, and rotation automatically starts when the page loads.
- In some implementations, rotation automatically stops once all the slides have been displayed.
+ A carousel presents a set of items, referred to as slides, by rotating one or more of the slides into view.
+ Typically, only one slide is displayed at a time.
While a slide may contain any type of content, image carousels where each slide contains nothing more than a single image are common.
+ In some implementations, rotation automatically starts when the page loads, and it may also automatically stop once all the slides have been displayed.
- Ensuring all users, especially screen reader users, can control slide rotation is an essential accessibility feature of carousels.
- If content is hidden and replaced while a screen reader user is reading it, the experience can be confusing and disorienting, especially if the user is not aware of the automatic slide rotation.
+ Ensuring all users can easily control and are not adversely effected by slide rotation is an essential aspect of making carousels accessible.
+ For instance, the screen reader experience can be confusing and disorienting if slides that are not visible on screen are incorrectly hidden, e.g., displayed off-screen.
+ Similarly, if slides rotate automatically and a screen reader user is not aware of the rotation, the user may read an element on slide one, execute the screen reader command for next element, and, instead of hearing the next element on slide one, hear an element from slide 2 without any knowledge that the element just announced is from an entirely new context.
Features needed to provide sufficient rotation control include:
-
- - Rotation stops when keyboard focus enters the carousel. It does not restart unless the user explicitly requests it to do so.
- - Rotation is stopped whenever the mouse is hovering over the carousel.
- - A button for stopping and restarting rotation. This is particularly important for supporting assistive technologies operating in a mode that does not move either keyboard focus or the mouse.
+
- Buttons for displaying the previous and next slides.
- - Optionally, a control, or group of controls, for choosing a specific slide to display. For example, the selection controls can be marked up as tabs in a tablist with the slide represented by a tabpanel element.
-
+ Optionally, a control, or group of controls, for choosing a specific slide to display. For example, slide picker controls can be marked up as tabs in a tablist with the slide represented by a tabpanel element.
+ If the carousel can automatically rotate, it also:
+
+ - Has a button for stopping and restarting rotation. This is particularly important for supporting assistive technologies operating in a mode that does not move either keyboard focus or the mouse.
+ - Stops rotating when keyboard focus enters the carousel. It does not restart unless the user explicitly requests it to do so.
+ - Stops rotating whenever the mouse is hovering over the carousel.
+
+
+
Example
@@ -516,6 +521,8 @@ Example
Terms
The following terms are used to describe components of a carousel.
+ - Slide
+ - A single content container within a set of content containers that hold the content to be presented by the carousel.
- Rotation Control
- An interactive element that stops and starts automatic slide rotation.
- Next Slide Control
@@ -531,11 +538,14 @@ Terms
Keyboard Interaction
-
- Automatic slide rotation stops when any element in the carousel receives keyboard focus.
+ If the carousel has an auto-rotate feature, automatic slide rotation stops when any element in the carousel receives keyboard focus.
It does not resume unless the user activates the rotation control.
- - Tab and Shift + Tab: Move focus through the interactive elements of the carousel as specified by the page tab sequence; no special scripting is necessary.
- - Button elements implement the keyboard interaction defined in the button pattern.
+ - Tab and Shift + Tab: Move focus through the interactive elements of the carousel as specified by the page tab sequence -- scripting for Tab is not necessary.
+ -
+ Button elements implement the keyboard interaction defined in the button pattern.
+ Note: Activating the rotation control, next slide, and previous slide do not move focus, so users may easily repetitively activate them as many times as desired.
+
- If tab elements are used for slide picker controls, they implement the keyboard interaction defined in the Tabs Pattern.
@@ -593,6 +603,14 @@ Basic carousel elements
Note that since the aria-roledescription
is set to "slide", the label does not contain the word "slide".
+
+ Optionally, an element wrapping the set of slide elements has aria-atomic set to false
+ and aria-live set to:
+
+ off
: ifthe the carousel is automatically rotating.
+ polite
: if the carousel is NOT automatically rotating.
+
+
Tabbed Carousel Elements
The structure of a tabbed carousel is the same as a basic carousel except that: