Level AASince WCAG 2.0
2.4.7 Focus Visible
Guideline 2.4: Navigable – People can find their way and always know where they are.
What does the rule require?
You can always see which element has keyboard focus. Without a visible focus, using a keyboard is like using a mouse without a pointer.
How to get it right
Never remove outline without a replacement. Design focus on purpose: :focus-visible { outline: 3px solid; outline-offset: 3px; }
Who benefits most?
- People with motor disabilities
- People with low vision
Official wording
This page explains the rule in simple words. Only the original W3C text is normative.
- “Understanding Focus Visible” at W3C (external site)
- Techniques in the WCAG Quick Reference (external site)