Language: EN

Scrollable areas can't be reached by keyboard

Message shown by axe and Lighthouse: Scrollable region must have keyboard access · scrollable-region-focusable · WCAG 2.1.1, 2.1.3

What it means and why it matters

Carousels or boxes that scroll but can't be focused are unusable without a mouse (WCAG 2.1.1).

How to fix it

Make the region focusable (tabindex="0") or ensure it contains focusable content.

Code example

Before

<div class="product-slider" style="overflow-x:auto;width:320px;white-space:nowrap">
  Rain jacket · Boots · Scarf · Gloves · Umbrella · Rain trousers · Hat · Socks · Backpack · Thermos
</div>

After

<div class="product-slider" style="overflow-x:auto;width:320px;white-space:nowrap" tabindex="0" role="region" aria-label="Recommended products">
  Rain jacket · Boots · Scarf · Gloves · Umbrella · Rain trousers · Hat · Socks · Backpack · Thermos
</div>

Find this error on your website

Run a free check of any page — results in seconds, with fix instructions.

Check a page for free

All accessibility errors

Order a paid plan

Leave your email and we'll contact you as soon as the plan can be ordered.