Whole page
Scrolling box cannot be reached with the keyboard
WCAG 2.2 success criterion 2.1.1 Keyboard (Level A)
- WCAG 2.2
- 2.1.1 Keyboard
- Level
- A
- Default severity
- Needs review
- Available in
- Free
Updated for Lumtera 1.3.0 and Lumtera Pro 1.2.0.
Why does it matter?
Success criterion 2.1.1 asks that everything works from a keyboard. This box scrolls, but nothing in it can take focus. Chrome and Firefox let Tab stop on such a box, Safari does not, so keyboard users there cannot read what is out of view.
Who it affects: Keyboard, screen reader and low-vision users — every visitor meets the page title, language, landmarks, keyboard focus, target sizes and zoom settings on every page.
What does Lumtera flag?
A box that scrolls with nothing inside it that can take keyboard focus.
Check ID page-scroll-region, as shown in review mode and saved results.
How do I fix it in WordPress?
Add tabindex="0" to the box, with a role such as region and an aria-label, so keyboard users can stop on it and scroll with the arrow keys. A link or button inside the box also works, if Tab can reach everything that scrolls.
Example
<div style="height: 200px; overflow: auto">Long terms and conditions…</div>
<div style="height: 200px; overflow: auto" tabindex="0" role="region" aria-label="Terms and conditions">Long terms and conditions…</div>
How do I check the fix?
- Reload the page in review mode and run the Whole page tab again. The finding disappears once the rendered page passes.
- Load the page and press Tab: a "Skip to content" link should appear first, and you should always see where focus is, even under a sticky header. Pinch-zoom on a phone, and check the browser tab shows a meaningful title.
Check your pages with Lumtera
This check is free. Open any post, choose Accessibility in the admin bar, then the Whole page tab: Lumtera checks the page as your browser renders it, theme, menus and footer included, one page at a time. Lumtera Pro's Page checks screen (Lumtera → Checks → Page checks) runs this check on every page you select.
Related checks
-
WCAG 2.5.7 · AANeeds review
Dragging may be the only way to use this
-
WCAG 2.1.1 · AError
Custom control cannot be reached with the keyboard
-
WCAG 2.1.1 · ANeeds review
Clickable element cannot be used with the keyboard
-
WCAG 2.4.2 · AError
Page title is missing or generic
-
WCAG 3.1.1 · AError
Page language is missing or not valid
-
WCAG 1.3.1 · ANeeds review
Page headings are missing an H1 or skip levels
Start with the free plugin today
All 88 content checks and 38 whole-page checks, fixes you approve with undo, and the site report — free, with no account and no page limits.