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 12 success criteria, 8 techniques and 2 glossary terms for keyboard.
Success criteria
2.1.1 Keyboard
All functionality of the content is operable through a keyboard interface without requiring specific timings for individual keystrokes, except where the underlying function requires input that depends on the path of the user's movement and not just the endpoints.
More about 2.1.1
- Goal
- Everything can be done with a keyboard except freehand movements.
- What to do
- Ensure pointer actions have a keyboard equivalent.
- Why it matters
- Many people rely on the keyboard interface, including blind and some mobility impaired people.
- Level A
- Since WCAG 2.0
- Operable
- Guideline 2.1 Keyboard Accessible
Found in the title, the requirement, the plain-language summary, the guideline and technique titles.
Matching techniques
- G202: Ensuring keyboard control for all functionality, sufficient technique
- G90: Providing keyboard-triggered event handlers, sufficient technique
- SCR20: Using both keyboard and other device-specific functions, sufficient technique
- SCR35: Making actions keyboard accessible by using the onclick event of anchors and buttons, sufficient technique
- SCR2: Using redundant keyboard and mouse event handlers, sufficient technique
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 title, the requirement, the plain-language summary and the guideline.
2.1.4 Character Key Shortcuts
If a keyboard shortcut is implemented in content using only letter (including upper- and lower-case letters), punctuation, number, or symbol characters, then at least one of the following is true:
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 requirement, the plain-language summary, the exceptions and details and the guideline.
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 requirement, the plain-language summary and technique titles.
Matching techniques
- C45: Using CSS :focus-visible to provide keyboard focus indication, sufficient technique
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 requirement and the plain-language summary.
2.1.3 Keyboard (No Exception)
All functionality of the content is operable through a keyboard interface without requiring specific timings for individual keystrokes.
More about 2.1.3
- Goal
- Everything can be done with a keyboard.
- What to do
- Ensure all pointer actions have a keyboard equivalent.
- Why it matters
- People who can only use the keyboard interface need to be able to accomplish everything.
- Level AAA
- Since WCAG 2.0
- Operable
- Guideline 2.1 Keyboard Accessible
Found in the title, the requirement, the plain-language summary, the guideline and technique titles.
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 requirement, the exceptions and details and technique titles.
Matching techniques
2.4.1 Bypass Blocks
A mechanism is available to bypass blocks of content that are repeated on multiple web pages.
More about 2.4.1
- Goal
- Users can more easily navigate by keyboard.
- What to do
- Provide a means of skipping repeating content.
- Why it matters
- Users reliant on the keyboard interface can move around pages efficiently.
- Level A
- Since WCAG 2.0
- Operable
- Guideline 2.4 Navigable
Found in the plain-language summary.
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 plain-language summary.
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 requirement, the plain-language summary and technique titles.
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 requirement and the plain-language summary.
2.5.6 Concurrent Input Mechanisms
Web content does not restrict use of input modalities available on a platform except where the restriction is essential, required to ensure the security of the content, or required to respect user settings.
More about 2.5.6
- Goal
- Users can choose different ways of inputting content.
- What to do
- Do not prevent users from switching their mode of input.
- Why it matters
- People may not be able to work using just one input method.
- Level AAA
- Since WCAG 2.1
- Operable
- Guideline 2.5 Input Modalities
Found in the guideline and technique titles.
Techniques and failures
- G202 Ensuring keyboard control for all functionality
- G90 Providing keyboard-triggered event handlers
- SCR2 Using redundant keyboard and mouse event handlers
- SCR20 Using both keyboard and other device-specific functions
- SCR29 Adding keyboard-accessible actions to static HTML elements
- SCR35 Making actions keyboard accessible by using the onclick event of anchors and buttons
- C45 Using CSS :focus-visible to provide keyboard focus indication
- F114 Failure of Success Criterion 1.4.13 Content on hover or focus when content cannot be dismissed without moving the pointer or the keyboard focus
Glossary
- keyboard interface
- interface used by software to obtain keystroke input Note 1 A keyboard interface allows users to provide keystroke input to programs even if the native technology does not contain a keyboard. Example A touchscreen PDA has a keyboard interface built into its operating system...
- keyboard shortcut
- alternative means of triggering an action by the pressing of one or more keys