Chapter 4. Understanding Slider Performance

Motion and Accessibility

Some people find movement on screen distracting or even physically uncomfortable, and set their device to reduce motion. SwiftSlider respects that setting: for those visitors, slides change instantly without transitions or effects, and autoplay stays off.

SwiftSlider also works for visitors who don't use a mouse:

  • Keyboard users can move between slides with the arrow keys, and jump to the first or last slide with Home and End. The Tab key never lands on a button in a slide that isn't showing.

  • Screen reader users hear the slider announced as a carousel, each slide as “1 of 4” and so on, and each image's alt text.

  • Touchscreen users can swipe left and right.

  • Autoplay pauses while a visitor hovers over the slider, after they touch it, and while keyboard focus is inside it, so nobody has to chase a moving slide.