Accessibility · ARIA

Focusable content inside aria-hidden

A block on this page has aria-hidden="true" but contains a link that can still be reached with the Tab key, leaving it silent and unnamed.

How this page is built

The box below has aria-hidden="true", which hides it from assistive technology. The link inside it is still in the tab order.

Why it matters

aria-hidden removes content from the accessibility tree but not from keyboard focus. A keyboard user can tab onto the link, and a screen reader then announces nothing, or something confusing, because the link officially does not exist.

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 aria-hidden-focus.

How to fix it

Remove aria-hidden if the content should be used, or make the content inert with the inert attribute, or tabindex="-1" on each focusable element.

Back to all tests