Accessibility

Sliders are easy to get wrong for visitors who use a keyboard, a screen reader or who are sensitive to motion. GlidePress handles the mechanics; a few choices are yours.

What the slider does for you

  • Screen readers hear each slider as a carousel with its name, each slide as "slide 2 of 5", and the arrows and indicator as labelled buttons. Slides peeking in at the edges can't be tabbed into or read until they come into view.
  • Keyboard: the arrows, indicator, thumbnails and pause button are all buttons you can reach with Tab. The arrow keys move the slider that has focus, or else the one most on screen.
  • Motion: autoplay pauses on hover, while the slider is off screen, while a visitor is using the keyboard inside it and while a video in it plays. Visitors who ask their device for less motion get no autoplay and a gentle fade instead of a slide.
  • Right-to-left languages mirror the slider, its arrows and its controls.
  • Without JavaScript, every slide stays reachable as a row that scrolls sideways.

Your part

  • Name each slider (More settings → Name for screen readers), differently from any other slider on the page.
  • Keep the pause button on any slider that moves by itself.
  • Give each slide time: at least three seconds, more for slides with text.
  • Describe images: give every image alternative text, unless it is decorative.

The Slider check

The slider's sidebar flags problems as you work, most with a button that fixes them:

  • a slider that moves by itself without a pause button
  • slides that change faster than three seconds
  • too few slides to move, to loop, or to fill a ticker
  • empty slides
  • images without alternative text