- Success Criterion 2.1.1
- Conformance level A
Scrollable Content Area That Can’t Be Reached by Keyboard
2.1.1 — Keyboard
Scenario
Setting
A video streaming service's show detail page
What’s wrong
Scrollable overflow container not keyboard-focusable (tabindex (keyboard-focus setting) missing), leaving overflow content unreachable without a mouse.
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 scrollable region (e.g., a code block or overflow panel): if it has no tabindex="0" and arrow keys/Page Down don't scroll it, keyboard users can't reach its content.
How to fix
Add tabindex="0" (code making it keyboard-focusable) (and a role/name) to scrollable containers so keyboard users can scroll them.
<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 video streaming service's show detail page, this barrier is gone for blind users, people with motor disabilities — they can complete the task without hitting this wall.
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