- Success Criterion 2.4.7
- Conformance level AA
Focus Indicator Styled for Some Components but Not Others
2.4.7 — Focus Visible
Scenario
Setting
A coworking-space booking app
What’s wrong
Custom indicator present only for some components (links styled, buttons not).
Example
A tester reviewing a coworking-space booking app finds this: custom indicator present only for some components (links styled, buttons not).
Why it matters
Sighted keyboard users and low-vision users who must see where focus is. On a coworking-space booking app, that means they lose track of where they are on the page.
How to test
Tab through several different component types (links, buttons, custom widgets): if only some show a focus indicator and others show none, it fails for the unstyled ones.
How to fix
A clearly visible focus indicator must appear, in full, on every interactive element when it receives keyboard focus.
Outcome
With the fix in place on a coworking-space booking app, they keep track of where they are on the page.
Who is affected
Sighted keyboard users and low-vision users who must see where focus is.
Learn more
- Understanding Understanding document (opens in a new tab)
Related scenarios
- Element Losing Keyboard Focus the Instant It’s Reached
- Focus Outline Removed by CSS With No Replacement
- Global CSS Reset Removing Every Focus Outline Site-Wide
- Focus Indicator That’s Just a Subtle, Hard-to-See Color Shift
- Focus Style That Only Appears on Hover, Never on Tab Focus
- Focus Indicator Hidden Behind an Overlapping Sticky Element