How to fix scrollable region focusable on Squarespace

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 Squarespace

  1. In the Squarespace Pages panel, open the page containing the scrollable block and click Edit.
  2. Click the scrollable content block to select it, then open its Block Settings.
  3. Squarespace does not expose tabindex via the GUI; you must use the Code Injection feature. Go to Settings → Advanced → Code Injection and add a small JavaScript snippet: document.querySelectorAll('.your-scrollable-class').forEach(el => { el.setAttribute('tabindex','0'); el.setAttribute('aria-label','Product description'); });
  4. Add a CSS rule via Design → Custom CSS: .your-scrollable-class:focus { outline: 2px solid #005fcc; outline-offset: 2px; }
  5. Replace .your-scrollable-class with the actual CSS class visible in browser DevTools.
  6. Save and verify with keyboard Tab navigation.
Official Squarespace documentation ↗
<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 Squarespace 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

Fix scrollable region focusable on another platform