Success Criteria

WCAG 2.1.4 Character Key Shortcuts

Success Criterion 2.1.4 requires that if a keyboard shortcut is implemented using only a single printable character (a letter, punctuation, number, or symbol, with no modifier key like Ctrl or Alt), the user can turn it off, remap it, or the shortcut only applies while a specific interface component has focus. It's a Level A criterion under Guideline 2.1 (Keyboard Accessible), added in WCAG 2.1.

Why single-character shortcuts specifically

A shortcut like pressing "s" to trigger "Save" or "/" to focus search sounds convenient — until it interferes with speech-input software. Voice-control and speech-to-text users often speak individual letters or words as part of dictating text or navigating; a single unmodified character silently triggering an unrelated site action (rather than being typed as intended) can be genuinely disruptive and confusing, since it happens without any deliberate "shortcut" gesture from the user's perspective — just from a letter they said or typed.

The three acceptable outs

A single-character shortcut is fine as long as at least one of these is true:

  1. It can be turned off entirely via a settings option
  2. It can be remapped to include a modifier key (Ctrl, Alt, Shift) or a different character
  3. It only activates while a specific component has focus — a shortcut that only fires when a particular editable region or widget is focused (rather than globally, anywhere on the page) is exempt, since it's contextually scoped rather than a global trap

Common real-world examples

  • Sites (often blogging or documentation platforms) that bind "/" to open a search box globally, anywhere on the page
  • Keyboard-shortcut-heavy web apps (spreadsheet tools, project management apps) with single-letter actions like "e" for edit or "d" for delete, active globally rather than scoped to a specific focused element

The practical fix

Prefer modifier-key combinations (Ctrl+K, Cmd+/) over bare single characters for global shortcuts, or scope single-character shortcuts so they only fire when a specific, obviously-interactive element already has focus — never as an always-active global listener across the whole page.

Common questions

What is WCAG 2.1.4?
A Level A criterion: if a shortcut uses only a single character key (letter, number, symbol, or punctuation), users must be able to disable it, remap it, or have it active only on focus.
Why are single-key shortcuts a problem?
Speech-input users and people who accidentally bump keys can trigger them unintentionally, causing unexpected actions. The criterion prevents that.
How do I comply?
Provide a setting to turn off or remap single-key shortcuts, require a modifier key like Ctrl or Alt, or scope the shortcut so it only works when the relevant control is focused.

Want to see how your own site scores?

Run a free accessibility scan