2.1 Keyboard Accessible · SC 2.1.4

A2 min read

Character Key Shortcuts

If a keyboard shortcut is implemented in content using only letter, punctuation, number, or symbol characters, then a mechanism is available to turn the shortcut off, remap it to include a modifier key, or make it active only when the relevant component has focus.

In plain language

If a site has single-key shortcuts (like pressing "S" to search), there must be a way to turn the shortcut off, change it to require another key too (like Ctrl+S), or make it work only while the relevant part of the page has focus.

Why it matters

People who use speech-to-text software trigger these shortcuts by accident whenever they say a word starting with that letter. If they can't disable or remap them, voice control on the site becomes unpredictable and frustrating.

In practice

Fails this criterion

A site uses "S" to jump to search and "K" to move between messages, with no setting to turn these off or remap them.

Meets this criterion

The same site has a settings menu where users can disable single-letter shortcuts or change them to require a modifier key like Ctrl.

Test it yourself

Type normal text into a text field, or dictate with speech-to-text, on pages that use keyboard shortcuts. If ordinary typing or speaking triggers a shortcut by accident and there's no way to turn it off, this criterion is failing.

Read SC 2.1.4 on the official WCAG 2.2 specification ↗