- Success Criterion 2.1.1
- Conformance level A
Slider or Carousel Operable Only by Swipe or Mouse Drag
2.1.1 — Keyboard
Scenario
Setting
A fashion e-commerce site's checkout page
What’s wrong
Sliders/carousels operable only by swipe or mouse-drag.
Example
<div onclick="submitForm()">Submit</div> Why it matters
Blind users, people with motor disabilities, and anyone operating the interface without a pointer.
How to test
Tab to a slider/carousel and try arrow keys: if it only responds to swipe or mouse-drag, it fails.
How to fix
Make sliders/carousels operable with arrow keys and visible next/previous buttons.
<button onclick="submitForm()">Submit</button>A native button is focusable and triggers on Enter/Space automatically; a div needs all of that added by hand.
Outcome
On a fashion e-commerce site's checkout page, this barrier is gone for blind users, people with motor disabilities — they can finish what they came here to do.
Who is affected
Blind users, people with motor disabilities, and anyone operating the interface without a pointer.
Learn more
- Understanding Understanding document (opens in a new tab)
Related scenarios
- Feature That Only Responds to Mouse Events, Not the Keyboard
- Element That Loses Focus the Instant It’s Reached by Keyboard
- Clickable Element Acting Like a Link With No Real Keyboard Role
- Clickable Div With No Keyboard Focus or Key Handling at All
- Focusable Element That Enter and Space Don’t Actually Activate
- Custom Dropdown That Can’t Be Operated by Keyboard Arrows