Accessibility · Keyboard and focus
Scrollable region without keyboard access
A box on this page scrolls, but it holds only text and cannot take focus, so keyboard users in some browsers cannot scroll it.
How this page is built
The box below has a fixed height and overflow: auto. It holds only text, and it has no tabindex.
This box has a fixed height and scrolls. It holds only plain text, so there is nothing inside it that can take focus. It holds only plain text, so there is nothing inside it that can take focus. It holds only plain text, so there is nothing inside it that can take focus. It holds only plain text, so there is nothing inside it that can take focus. It holds only plain text, so there is nothing inside it that can take focus. It holds only plain text, so there is nothing inside it that can take focus.
Why it matters
Keyboard users scroll by focusing an element and using the arrow keys. A scrolling box that cannot take focus, and holds nothing that can, may be impossible to scroll without a mouse. Recent versions of Chrome make such boxes focusable on their own, but other browsers do not.
Accessibility problems matter for search too. Search engines read the same code that screen readers read. Many crawl tools now run accessibility checks next to their SEO checks. A page that works for everyone is easier to use, and people stay on it for longer.
How to check it
Run an automated checker such as axe DevTools, Lighthouse or WAVE, or a crawler with accessibility checks, on this page. axe reports this under the rule scrollable-region-focusable.
How to fix it
Add tabindex="0", a role such as region and an accessible name to the scrolling box, or avoid fixed-height scrolling areas.