Accessibility Design Guidelines:

Carousels

page structure image
Source: Photo Jess Bailey on Pexels

Why is this Important?

Sometimes referred to as carousel, slider, or slideshow, these widgets usually appear at the top of webpages as a way to display multiple rotating (horizontally) images.

Carousels are a typical website feature that can be distracting to even the able-bodied person. However, they are especially challenging to people who rely on using a keyboard or assistive technology for navigating and accessing content.

Users with vision-impairments may have difficulty interpreting the information if legibility is poor. People with cognitive impairments may find fast-scrolling images distracting and frustrating.

In order to make the user experience easier for these individuals, designers and developers can adopt best practices to ensure even content hidden within carousels is accessible.

external link icon  Learn More about Carousels

EXAMPLE:  Carousels

Click on the icons below to reveal the corresponding WCAG Success Criteria

Below is a working example of an image Carousel

~ Try using your keyboard only to control the slides ~

Best Practices

Carousels can pose as a usability barrier to people with disabilities because the content is hidden. There are a number of techniques one can utilize to make a carousel accessible.

  • Use semantic structure to build your carousel to include five or less items. For example, use appropriate headings <H3>.
  • Unsure all functionality allows the user to contol the carousel with a keyboard.
  • Avoid automatic rotating of items and fast transitions which can be difficult to read and a distraction for some users.
  • Be sure to incude descriptive <p>text so users can gain a better understanding about the images.
  • Be sure to alternative text <img src="redRose.jpg" alt="Red Rose"> for your images.
  • The carousel should be styled in a way that promotes legibility.
  • Use a 'dot' or number navigation to indicate how many items or slides in the carousel.
  • The user should have control of the carousel such as implementing forward and back arrows.

The Success Criteria for Carousels

Who Does This Benefit?

user IconUsing Keyboards for Navigation

vision IconVisual Impairments

computer IconScreen Reader Users

brain IconCognitive and Learning Disabilities

The Related WCAG Success Criteria

4.1.2 Name, Role, Value

For all user interface components (including but not limited to: form elements, links and components generated by scripts), the name and role can be programmatically determined; states, properties, and values that can be set by the user can be programmatically set; and notification of changes to these items is available to user agents, including assistive technologies.
(Level A)

1.3.1 Info and Relationships

Information, structure, and relationships conveyed through presentation can be programmatically determined or are available in text.
(Level A)

2.1.1 Keyboard

All functionality of the content is operable through a keyboard interface without requiring specific timings for individual keystrokes, except where the underlying function requires input that depends on the path of the user’s movement and not just the endpoints.
(Level A)

2.2.2 Pause, Stop, Hide

For moving, blinking, scrolling, or auto-updating information.
(Level A)

2.4.6 Headings and Labels

Headings and labels describe topic or purpose.
(Level AA)