How to fix scrollable region focusable on Adobe Commerce (Magento)
Make every scrollable region on your store reachable and operable by keyboard by adding tabindex="0" (or placing focusable content inside it) so users who cannot use a mouse can scroll it.
Steps for Adobe Commerce (Magento)
- In your theme directory (app/design/frontend/<Vendor>/<theme>/), locate the relevant .phtml template — commonly Magento_Catalog/templates/product/view/description.phtml.
- Find the container div that wraps the scrollable content and add tabindex="0" aria-label="Product description" to its opening tag.
- Add a focus CSS rule in your theme's web/css/source/ Less/CSS file: .product.description:focus { outline: 2px solid #005fcc; outline-offset: 2px; }
- Run bin/magento setup:static-content:deploy and bin/magento cache:clean to apply changes.
- Verify in a browser using keyboard Tab navigation.
<div class="product-description"
tabindex="0"
aria-label="Product description"
style="max-height:200px; overflow-y:auto;">
<!-- scrollable content here -->
</div>What is scrollable region focusable?
A "scrollable region" is any box on your page that has a scrollbar — for example, a product description box with a fixed height, a reviews section with overflow scrolling, a custom dropdown list, or a side-by-side comparison table. When a sighted user without a mouse (or a user who relies entirely on the keyboard) presses Tab to navigate, they must be able to reach that box and scroll through its content using arrow keys. If the scrollable container has no focusable element inside it and no tabindex attribute, the keyboard simply skips it entirely, making the content inside inaccessible. WCAG Success Criterion 2.1.1 ("Keyboard") requires that all functionality — including scrolling — be operable by keyboard alone.
Keyboard accessibility is a legal requirement in many jurisdictions (ADA in the US, EN 301 549 in the EU, AODA in Canada) — failing it exposes your business to accessibility complaints and litigation. Shoppers who rely on keyboards (people with motor disabilities, power users, switch-access device users) cannot read the content hidden inside your scrollable box, which directly kills conversions for that segment. Search engines also value accessible, well-structured pages as a quality signal. Fixing this is usually a one-line code change and removes a real barrier for real customers.
See the complete Scrollable region focusable guide for every platform and the full background.
Not sure if your Adobe Commerce (Magento) store has this?
Run a free SEOLZ audit — we’ll find scrollable region focusable and every other issue across your whole site.
Scan my site free