Skip to content

Rule · Accessibility

Focusable element inside aria-hidden

a11y/aria-hidden-focuserrorvoid a11yupdated

Why it matters

Keyboard users can focus something that screen readers claim does not exist.

How to fix it

Make the content inert (inert attribute) or remove aria-hidden.

References

void a11y reports 48 rules in this category. WCAG 2.2 AA through axe-core, plus checks axe can't do alone: visible keyboard focus, 24/44px target size on mobile, 320px reflow and disabled zoom.