WCAG Search
Search all 87 success criteria of WCAG 2.2, along with 423 techniques, common failures and the glossary. Type whatever you are working on, such as keyboard, contrast or captions.
Or learn the guidelines by situation: take the WCAG quiz.
Found 14 success criteria, 5 techniques and 1 glossary term for focus visible.
Success criteria
2.4.7 Focus Visible
Any keyboard operable user interface has a mode of operation where the keyboard focus indicator is visible.
More about 2.4.7
- Goal
- Users know which element has keyboard focus.
- What to do
- Ensure each item receiving focus has a visible indicator.
- Why it matters
- Without a focus indicator, sighted keyboard users cannot operate the page.
- Level AA
- Since WCAG 2.0
- Operable
- Guideline 2.4 Navigable
Found in the title, the requirement, the plain-language summary and technique titles.
Matching techniques
- G149: Using user interface components that are highlighted by the user agent when they receive focus, sufficient technique
- C15: Using CSS to change the presentation of a user interface component when it receives focus, sufficient technique
- G165: Using the default focus indicator for the platform so that high visibility default focus indicators will carry over, sufficient technique
- G195: Using an author-supplied, visible focus indicator, sufficient technique
- C40: Creating a two-color focus indicator to ensure sufficient contrast with all components, sufficient technique
1.4.13 Content on Hover or Focus
Where receiving and then removing pointer hover or keyboard focus triggers additional content to become visible and then hidden, the following are true:
More about 1.4.13
- Goal
- More users can perceive and dismiss non-persistent content.
- What to do
- If hover or focus causes content changes, ensure interaction is predictable.
- Why it matters
- Unpredictable temporary content can be hard for some to consume and may disrupt others.
- Level AA
- Since WCAG 2.1
- Perceivable
- Guideline 1.4 Distinguishable
Found in the title, the requirement, the plain-language summary, the exceptions and details and technique titles.
Matching techniques
2.4.11 Focus Not Obscured (Minimum)
When a user interface component receives keyboard focus, the component is not entirely hidden due to author-created content.
More about 2.4.11
- Goal
- Keep the focused item visible.
- What to do
- Ensure when an item gets keyboard focus, it is at least partially visible.
- Why it matters
- People who can't use a mouse need to see what has keyboard focus.
- Level AA
- New in WCAG 2.2
- Operable
- Guideline 2.4 Navigable
Found in the title, the requirement, the plain-language summary and technique titles.
Matching techniques
2.4.13 Focus Appearance
When the keyboard focus indicator is visible, an area of the focus indicator meets all the following:
More about 2.4.13
- Goal
- Make it easier to spot the keyboard focus.
- What to do
- Use a focus indicator of sufficient size and contrast.
- Why it matters
- Many people can't see small changes in visual appearance, including older people.
- Level AAA
- New in WCAG 2.2
- Operable
- Guideline 2.4 Navigable
Found in the title, the requirement, the plain-language summary, the exceptions and details and technique titles.
Matching techniques
- G195: Using an author-supplied, visible focus indicator, sufficient technique
- C40: Creating a two-color focus indicator to ensure sufficient contrast with all components, sufficient technique
- C41: Creating a strong focus indicator within the component, sufficient technique
- F55: Failure of Success Criteria 2.1.1, 2.4.7, 2.4.13, and 3.2.1 due to using script to remove focus when focus is received, common failure
- F78: Failure of Success Criterion 1.4.11, 2.4.7 and 2.4.13 due to styling element outlines and borders in a way that removes or renders non-visible the visual focus indicator, common failure
2.4.12 Focus Not Obscured (Enhanced)
When a user interface component receives keyboard focus, no part of the component is hidden by author-created content.
More about 2.4.12
- Goal
- Don't cover any part of the item with focus.
- What to do
- Ensure when an item gets keyboard focus, it is fully visible.
- Why it matters
- People who can't use a mouse need to see what has keyboard focus.
- Level AAA
- New in WCAG 2.2
- Operable
- Guideline 2.4 Navigable
Found in the title, the requirement, the plain-language summary and technique titles.
1.4.11 Non-text Contrast
The visual presentation of the following have a contrast ratio of at least 3:1 against adjacent color(s):
More about 1.4.11
- Goal
- Important visual information meets the same minimum contrast required for larger text.
- What to do
- Ensure meaningful visual cues achieve 3:1 against the background.
- Why it matters
- Some people cannot see elements with low contrast.
- Level AA
- Since WCAG 2.1
- Perceivable
- Guideline 1.4 Distinguishable
Found in technique titles.
Matching techniques
- G195: Using an author-supplied, visible focus indicator, sufficient technique
- C40: Creating a two-color focus indicator to ensure sufficient contrast with all components, sufficient technique
- F78: Failure of Success Criterion 1.4.11, 2.4.7 and 2.4.13 due to styling element outlines and borders in a way that removes or renders non-visible the visual focus indicator, common failure
3.2.1 On Focus
When any user interface component receives focus, it does not initiate a change of context.
More about 3.2.1
- Goal
- Content can be navigated more predictably.
- What to do
- Do not change a user's context when items get focus.
- Why it matters
- Content that behaves predictably is especially important to people with disabilities.
- Level A
- Since WCAG 2.0
- Understandable
- Guideline 3.2 Predictable
Found in the title, the requirement, the plain-language summary and technique titles.
Matching techniques
2.4.3 Focus Order
If a web page can be navigated sequentially and the navigation sequences affect meaning or operation, focusable components receive focus in an order that preserves meaning and operability.
More about 2.4.3
- Goal
- Keyboard users navigate content in a correct order.
- What to do
- Elements receive focus in an order that preserves meaning.
- Why it matters
- Navigating a site or application with only the keyboard will make sense.
- Level A
- Since WCAG 2.0
- Operable
- Guideline 2.4 Navigable
Found in the title, the requirement, the plain-language summary and technique titles.
2.5.3 Label in Name
For user interface components with labels that include text or images of text, the name contains the text that is presented visually.
More about 2.5.3
- Goal
- The visual label for controls is a trigger for speech activation.
- What to do
- Where practical, make the control’s text label and name match.
- Why it matters
- People who operate with voice interaction use the visible labels in their commands.
- Level A
- Since WCAG 2.1
- Operable
- Guideline 2.5 Input Modalities
Found in the plain-language summary and technique titles.
Matching techniques
- G208: Including the text of the visible label as part of the accessible name, sufficient technique
- G211: Matching the accessible name to the visible label, sufficient technique
- F96: Failure due to the accessible name not containing the visible label text, common failure
- F111: Failure of Success Criteria 1.3.1, 2.5.3, and 4.1.2 due to a control with visible label text but no accessible name, common failure
4.1.3 Status Messages
In content implemented using markup languages, status messages can be programmatically determined through role or properties such that they can be presented to the user by assistive technologies without receiving focus.
More about 4.1.3
- Goal
- Make users aware of important changes in content.
- What to do
- Let assistive technology notify users about status changes that don't take focus.
- Why it matters
- People who do not see messages need to be informed about them.
- Level AA
- Since WCAG 2.1
- Robust
- Guideline 4.1 Compatible
Found in the requirement, the plain-language summary and technique titles.
2.1.2 No Keyboard Trap
If keyboard focus can be moved to a component of the page using a keyboard interface, then focus can be moved away from that component using only a keyboard interface, and, if it requires more than unmodified arrow or tab keys or other standard exit methods, the user is advised of the method for moving focus away.
More about 2.1.2
- Goal
- Keyboard users don't get stuck.
- What to do
- Ensure users always know how to navigate away from components.
- Why it matters
- People who rely on the keyboard often have no other means to navigate.
- Level A
- Since WCAG 2.0
- Operable
- Guideline 2.1 Keyboard Accessible
Found in the requirement.
4.1.2 Name, Role, Value
For all user interface components (including but not limited to: form elements, links and components generated by scripts), the name and role can be programmatically determined; states, properties, and values that can be set by the user can be programmatically set; and notification of changes to these items is...
More about 4.1.2
- Goal
- People using assistive technology understand all components.
- What to do
- Give components appropriate names, roles, states, and values.
- Why it matters
- Assistive technology only works well when code is done properly.
- Level A
- Since WCAG 2.0
- Robust
- Guideline 4.1 Compatible
Found in technique titles.
Matching techniques
- ARIA14: Using aria-label to provide an accessible name where a visible label cannot be used, sufficient technique
- F79: Failure of Success Criterion 4.1.2 due to the focus state of a user interface component not being programmatically determinable or no notification of change of focus state available, common failure
- F111: Failure of Success Criteria 1.3.1, 2.5.3, and 4.1.2 due to a control with visible label text but no accessible name, common failure
1.2.4 Captions (Live)
Captions are provided for all live audio content in synchronized media.
More about 1.2.4
- Goal
- Live videos have captions.
- What to do
- Provide synchronized text for audio content in real-time videos.
- Why it matters
- People who are deaf or hard of hearing can understand audio in real-time video content.
- Level AA
- Since WCAG 2.0
- Perceivable
- Guideline 1.2 Time-based Media
Found in technique titles.
Matching techniques
- G93: Providing open (always visible) captions, sufficient technique
2.1.4 Character Key Shortcuts
Active only on focus: The keyboard shortcut for a user interface component is only active when that component has focus.
More about 2.1.4
- Goal
- Reduce accidental activation of keyboard shortcuts.
- What to do
- Ensure character-only shortcut keys can be turned off or modified.
- Why it matters
- Character-key shortcuts are easy to accidentally trigger, especially for keyboard and some speech input users.
- Level A
- Since WCAG 2.1
- Operable
- Guideline 2.1 Keyboard Accessible
Found in the exceptions and details.
Techniques and failures
- C45 Using CSS :focus-visible to provide keyboard focus indication
- G195 Using an author-supplied, visible focus indicator
- F78 Failure of Success Criterion 1.4.11, 2.4.7 and 2.4.13 due to styling element outlines and borders in a way that removes or renders non-visible the visual focus indicator
- G93 Providing open (always visible) captions
- G211 Matching the accessible name to the visible label
Glossary
- focus indicator
- pixels that are changed to visually indicate when a user interface component is in a focused state