WCAG 4.1.2 · Level A

Aria Hidden Focus

What is broken
Focusable elements sit inside a hidden container, so keyboard focus lands somewhere screen readers cannot describe.
Who it affects
Anyone navigating by keyboard, including screen reader and switch users, can get stuck or lose their place.
How to fix it
Remove focusable elements from aria-hidden containers, or make them unfocusable with tabindex="-1".

Check your site for this issue

Free scan — no signup required. Covers WCAG 2.1 AA across 64 rules including this one.

Scan my site →

Automated testing detects roughly a third of WCAG 2.1 success criteria. This rule is detected automatically; issues such as keyboard traps, focus order, and screen-reader flow still require manual review. Not legal advice.