Keyboard operation

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

Choosing a shoe size with the keyboard. When the sizes are not reachable, Tab jumps from Color straight to Add to cart. When they are, Tab reaches the sizes, the arrow keys move between them, and Enter adds the chosen size.

The answer

Make everything work from the keyboard, in a sensible order, with the keys people expect. As strong as the weakest rule behind it: moderate.

  • Make everything work from the keyboard, including things that otherwise need hover or drag.
  • Make the keyboard order follow the meaning and use of the page.
  • Use the keys people expect: Enter for links, Enter or Space for buttons, Space for checkboxes, arrows inside groups, Escape to close.

The other rules

  • If keyboard focus can get into something, it must be able to get out. If that takes an unusual key, say which.
  • Let people turn off or change single-key shortcuts, or make them work only when their component has focus.
  • Make a group of controls, such as a toolbar, tabs or a menu, one Tab stop, and move inside it with the arrow keys.
  • Don’t reorder focus with positive tabindex values, or make things focusable that do nothing.

Accessibility

Open questions

  • OpenOne tab stop per group or many? No user study found.
  • OpenNo peer-reviewed study with keyboard-only or switch users was found for this entry; the rules are based on the standard.
  • OpenA large survey of screen reader users exists and was not opened in this pass.
Checked November 12, 2026

Sources