Goal
Make keyboard focus clearly visible.
Loading ...
Success Criterion · WCAG 2.4.7
Any keyboard operable user interface has a mode of operation where the keyboard focus indicator is visible.
Goal
Make keyboard focus clearly visible.
What to do
Ensure there is a visible focus indicator for all keyboard-focusable components.
Why it matters
Keyboard users need to know where they are on the page to operate controls and avoid mistakes.
Success criterion
Summarized directly from the official Understanding document so teams can quote the requirement accurately.
Any keyboard operable user interface has a mode of operation where the keyboard focus indicator is visible.
Intent
Benefits
Why it matters
Summaries drawn from the Understanding document help you socialize impact statements with product stakeholders.
Users can “lose” focus position and be unable to continue.
Accidental activation happens when users can’t see which control will trigger.
Forms and menus become frustrating or impossible to use via keyboard.
When a user tabs through the interface, it must be visually obvious which element currently has focus. Avoid removing outlines unless you replace them with an equally visible focus style.
Reference: All summaries and highlights originate from Understanding WCAG 2.4.7 and the W3C quick reference.
Examples
Share pass/fail snapshots to coach designers, engineers, QA, and content authors.
Pass
Focused link shows a visible outline or ring clearly distinct from hover state.
Fail
Links have `outline: none` and no replacement focus styling.
Pass
Button shows a 2px ring with offset that remains visible on gradients.
Fail
Focus indicator is the same color as the button background and effectively invisible.
Pass
Custom toggle shows focus on the interactive element and is clearly visible.
Fail
Focus goes to an inner element with no visible indication.
Evidence to keep
Capture artifacts for VPATs, procurement reviews, and regression testing.
Official resources
Keep these links handy when writing acceptance criteria or responding to audits.
Official W3C interpretation, techniques, and intent for Focus Visible.
Filterable list of sufficient techniques and failures.
Providing a visible focus indicator.
Using CSS to change presentation of a user interface component when it receives focus.
Implementation checklist
Testing ideas
Related success criteria