Skip to main content
WCAG Patterns

WCAG 2.4.12 · Level AAA · WCAG 2.2

Focus Not Obscured (Enhanced)

When a component has keyboard focus, no part of the focus indicator may be hidden by author-created content.

Principle
Operable
Guideline
Navigable
Level
AAA
Added in
WCAG 2.2

What it means

When a component has keyboard focus, no part of the focus indicator may be hidden by author-created content.

This is the short summary — a long-form breakdown (with code examples, common failures, and fix patterns) is queued for this criterion. In the meantime, the official W3C document linked at the end of the page is the authoritative source.

Quick checks

  • Run axe DevTools against the page and filter for rules citing 2.4.12.
  • Navigate the component with Tab + Enter only and confirm nothing is orphaned.
  • Inspect the accessibility tree in DevTools (Accessibility pane in Chrome/Firefox).

Further reading

The authoritative source is the official W3C Understanding document for 2.4.12. Framework-specific patterns and axe-rule mappings land here as the library grows.