# Keyboard operation

> People who cannot use a pointer get stuck wherever something only works with a mouse.

Area: Accessibility. Evidence behind the answer: Moderate. Last checked November 12, 2026.
Page: https://uxreference.com/accessibility/keyboard

## The answer

Make everything work from the keyboard, in a sensible order, with the keys people expect.

- **Settled, WCAG AA.** Make everything work from the keyboard, including things that otherwise need hover or drag. (https://uxreference.com/accessibility/keyboard#rule-1)
- **Settled, WCAG AA.** Make the keyboard order follow the meaning and use of the page. (https://uxreference.com/accessibility/keyboard#rule-3)
- **Moderate.** Use the keys people expect: Enter for links, Enter or Space for buttons, Space for checkboxes, arrows inside groups, Escape to close. (https://uxreference.com/accessibility/keyboard#rule-5)

## The problem

People who cannot use a pointer need every function from the keyboard, in a sensible order, with the keys they already know.

## How to decide

None. Requirements that apply together.

## Every rule

Each rule has a grade: Settled (required by WCAG AA or law, or replicated research), Strong, Moderate, Weak, or Unsettled (use the stated default until the evidence settles).

#### Rule 1. Settled, WCAG AA

Everything must be operable from a keyboard, including things that otherwise need hover or drag.

- Applies when: Any interactive content.
- Based on: Standard or law
- Principle: Work for everyone

Why: WCAG 2.2 success criterion 2.1.1 Keyboard, level A. Only input that depends on the path of movement, such as freehand drawing, is excepted.

Sources: [Understanding SC 2.1.1 Keyboard (Level A)](https://www.w3.org/WAI/WCAG22/Understanding/keyboard.html)

Link: https://uxreference.com/accessibility/keyboard#rule-1

#### Rule 2. Settled, WCAG AA

Focus that can move into a component by keyboard must be able to leave by keyboard; if leaving takes an unusual key, say which.

- Applies when: Any component that takes focus.
- Based on: Standard or law
- Principle: Work for everyone

Why: WCAG 2.2 success criterion 2.1.2, level A.

Sources: [Understanding SC 2.1.2: No Keyboard Trap](https://www.w3.org/WAI/WCAG22/Understanding/no-keyboard-trap.html)

Link: https://uxreference.com/accessibility/keyboard#rule-2

#### Rule 3. Settled, WCAG AA

Keyboard order must follow the meaning and operation of the page.

- Applies when: Any page with more than one focusable element.
- Based on: Standard or law
- Principle: Work for everyone

Why: WCAG 2.2 success criterion 2.4.3, level A.

Sources: [Understanding SC 2.4.3: Focus Order](https://www.w3.org/WAI/WCAG22/Understanding/focus-order.html)

Link: https://uxreference.com/accessibility/keyboard#rule-3

#### Rule 4. Settled, WCAG AA

A shortcut made only of letter, number or symbol keys must be possible to turn off or remap, or work only while its component has focus.

- Applies when: Single-character keyboard shortcuts.
- Based on: Standard or law
- Principle: Prevent errors

Why: WCAG 2.2 success criterion 2.1.4, level A. The stated reason is accidental activation, including by speech input.

Sources: [Understanding SC 2.1.4 Character Key Shortcuts (Level A)](https://www.w3.org/WAI/WCAG22/Understanding/character-key-shortcuts.html)

Link: https://uxreference.com/accessibility/keyboard#rule-4

#### Rule 5. Moderate

Use the keys people expect: Enter for links, Enter or Space for buttons, Space for checkboxes, arrow keys inside groups, Escape to close.

- Applies when: Custom controls.
- Based on: Practitioner research
- Principle: Be consistent

Why: ARIA practices guide (non-binding) and WebAIM agree. Neither cites user data.

Sources: [Developing a Keyboard Interface (ARIA Authoring Practices Guide)](https://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/); [Keyboard Accessibility (WebAIM techniques)](https://webaim.org/techniques/keyboard/)

Link: https://uxreference.com/accessibility/keyboard#rule-5

#### Rule 6. Moderate

Make a group of related controls, such as a toolbar, tab list or menu, one stop in the Tab order and move inside it with arrow keys.

- Applies when: Composite widgets.
- Based on: Practitioner research
- Principle: Let practiced people go faster

Why: ARIA practices guide, non-binding, with WebAIM describing the same key behavior. No study compares it with many tab stops.

Sources: [Developing a Keyboard Interface (ARIA Authoring Practices Guide)](https://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/); [Keyboard Accessibility (WebAIM techniques)](https://webaim.org/techniques/keyboard/)

Link: https://uxreference.com/accessibility/keyboard#rule-6

#### Rule 7. Moderate

Do not reorder focus with positive tab index values, and do not make things focusable that do nothing.

- Applies when: Managing tab order.
- Based on: Practitioner research
- Principle: Be consistent

Why: WebAIM guidance. In one test with five people, a switch user found focus outlines on inoperable elements confusing.

Sources: [Keyboard Accessibility (WebAIM techniques)](https://webaim.org/techniques/keyboard/); [What we learned from user testing of accessible client-side routing techniques with Fable Tech Labs](https://v2.gatsbyjs.com/blog/2019-07-11-user-testing-accessible-client-routing)

Link: https://uxreference.com/accessibility/keyboard#rule-7

## Accessibility requirements

- WCAG 2.1.1 (A), 2.1.2 (A), 2.1.4 (A), 2.4.3 (A). (https://www.w3.org/WAI/WCAG22/Understanding/keyboard.html)
- Touch and adapted-pointer users may have no keyboard; pointer alternatives are in [Gestures](https://uxreference.com/mobile/gestures).

## Common mistakes

- A control that only responds to mouse events.
- Single-letter shortcuts that fire while someone is dictating.
- A tab order that jumps around the page.

## Still open

- One tab stop per group or many? No user study found.
- No peer-reviewed study with keyboard-only or switch users was found for this entry; the rules are based on the standard.
- A large survey of screen reader users exists and was not opened in this pass.

## Related problems

- [Visible focus](https://uxreference.com/accessibility/focus-visible): Always show where keyboard focus is, and never cover it.
- [Focus management on open and close](https://uxreference.com/dialogs/focus-management): Move focus into a dialog when it opens, and back to the control that opened it when it closes.
- [Skip links](https://uxreference.com/navigation/skip-links): Give keyboard users a way past repeated blocks: a skip link first in the focus order, and a heading for each section.
- [Gestures](https://uxreference.com/mobile/gestures): Give every gesture a visible single-tap alternative, and act when the finger lifts.
- [Links vs buttons](https://uxreference.com/navigation/links-vs-buttons): Use a link to go somewhere and a button to do something.

## Sources

- [Understanding SC 2.1.1 Keyboard (Level A)](https://www.w3.org/WAI/WCAG22/Understanding/keyboard.html). W3C WAI, n.d., normative standard (Understanding document, informative).
- [Understanding SC 2.1.2: No Keyboard Trap](https://www.w3.org/WAI/WCAG22/Understanding/no-keyboard-trap.html). W3C WAI, n.d., normative standard (Understanding document, informative).
- [Understanding SC 2.4.3: Focus Order](https://www.w3.org/WAI/WCAG22/Understanding/focus-order.html). W3C WAI, n.d., normative standard (Understanding document, informative).
- [Understanding SC 2.1.4 Character Key Shortcuts (Level A)](https://www.w3.org/WAI/WCAG22/Understanding/character-key-shortcuts.html). W3C WAI, n.d., normative standard (Understanding document, informative).
- [Developing a Keyboard Interface (ARIA Authoring Practices Guide)](https://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/). W3C WAI, 2026, non-binding authoring guidance (not a requirement; no research).
- [Keyboard Accessibility (WebAIM techniques)](https://webaim.org/techniques/keyboard/). WebAIM, 2026, practitioner guidance (no study or data cited).
- [What we learned from user testing of accessible client-side routing techniques with Fable Tech Labs](https://v2.gatsbyjs.com/blog/2019-07-11-user-testing-accessible-client-routing). Marcy Sutton (Gatsby blog), 2019, moderated remote usability sessions (30 minutes) on prototypes, outcomes published in advance.

---
From Solved Problems in UX by Athen Pellicci, an evidence-graded reference of web interface problems. CC BY 4.0. https://uxreference.com/
