How to fix scrollable region focusable on Adobe Commerce (Magento)
Make every scrollable region on your site reachable by keyboard by adding tabindex="0" (or placing focusable content inside it) so keyboard and assistive-technology users can scroll it.
Steps for Adobe Commerce (Magento)
- Locate the relevant PHTML or HTML template in your custom theme under app/design/frontend/<Vendor>/<theme>/Magento_Catalog/templates/ (e.g. product/view/description.phtml) or the relevant module template.
- Add tabindex="0" and aria-label="Product description" to the scrollable wrapper element in the template file.
- In your theme's web/css/source/ directory, add a :focus rule for the scrollable class in the relevant .less file: .product-description:focus { outline: 2px solid #005fcc; }
- Run bin/magento setup:static-content:deploy and bin/magento cache:flush to apply the changes.
- Test in the browser with Tab-key and arrow-key navigation to confirm the region is reachable and scrollable.
What is scrollable region focusable?
A "scrollable region" is any box on your page that shows a scrollbar — think a product description with a fixed height, a reviews panel, a custom dropdown list, or a map embed. When a visitor uses only a keyboard (Tab key) to navigate, they must be able to move focus into that box so they can scroll through its content. If the box itself is not reachable by keyboard, or contains no focusable element (like a link or button) that would pull focus inside it, the content is effectively hidden from anyone who cannot use a mouse. WCAG Success Criterion 2.1.1 (Keyboard) requires that all functionality — including scrolling to read content — is operable without a mouse.
Keyboard accessibility directly affects an estimated 7–26 % of users who rely on keyboards, switch devices, or screen readers to navigate the web. If those users cannot reach a scrollable product description, image gallery, or terms-of-service box, they cannot read critical information that may influence a purchase — leading to lost conversions and abandoned carts. More importantly, WCAG 2.1 Level AA is referenced in accessibility laws including the ADA (US), the European Accessibility Act, and the UK Equality Act; failing this criterion exposes your business to legal complaints, lawsuits, and regulatory action. Accessibility auditors and automated scanners flag this issue, making it a liability that is easy to prove and hard to defend.
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 scan — we’ll find scrollable region focusable and every other issue across your whole site.
Scan my site free