• Success Criterion 2.1.4
  • Conformance level A
  • W3C reference F99

Single-Letter Keyboard Shortcut With No Way to Turn It Off

2.1.4 — Character Key Shortcuts

Scenario

Setting

A news outlet's article page

What’s wrong

Single-letter keyboard shortcuts (like 'j', 's') can't be turned off or changed — speech-input users trigger them accidentally while dictating.

Example

document.addEventListener('keydown', e => { if (e.key === 's') save(); });

Why it matters

Speech-input users and people who press keys accidentally.

How to test

Press a single-letter/number/symbol shortcut while focus is on ordinary content: check Settings for a way to turn it off or remap it — if none exists, it fails.

How to fix

Provide a setting to disable or remap single-key shortcuts, or scope them to focused components. document.addEventListener('keydown', e => { if (e.ctrlKey && e.key === 's') save(); }); Single-character shortcuts with no modifier key collide with screen reader and speech-input commands.

Outcome

On a news outlet's article page, this barrier is gone for speech-input users and people who press keys accidentally — they can complete the task without hitting this wall.

Who is affected

Speech-input users and people who press keys accidentally.

Learn more