Skip to main content
WCAG success criterion · Operable

2.1.4 Character Key Shortcuts

Guideline 2.1 Keyboard Accessible. Level A, part of WCAG 2.1 and later.

ADA compliance guide

What this criterion requires

If a shortcut uses only a letter, number, punctuation or symbol key, users must be able to turn it off, remap it to include a modifier, or it must be active only when the relevant component has focus.

Who it helps

Speech-input users, whose dictated words otherwise trigger actions, and typists with motor tremor.

Example: fails vs passes

Fails
document.addEventListener('keydown', e => { if (e.key === 'a') archive(); });
Passes
/* active only when the list has focus, and remappable in settings */
    list.addEventListener('keydown', e => { if (e.key === 'a') archive(); });

Global single-letter shortcuts fire while speech-input users dictate. Scope them to focus, or let users disable/remap.

How to meet and fix it

Common failures auditors find

Automated scanning catches a share of these instantly - run a free check - and a manual audit covers the judgement calls a tool cannot make.

Sources

Last updated . Reviewed by the EqualWeb accessibility team.

Does your site pass 2.1.4?

Run a free automated check now, or have certified IAAP/CPWA auditors test every criterion and document the result.

Book a meeting Start Free Trial