• Success Criterion 2.1.4
  • Conformance level A

Shortcut Remapping That Doesn’t Allow Modifier Key Combinations

2.1.4 — Character Key Shortcuts

Scenario

Setting

An insurance company's claims form

What’s wrong

Remap UI exists but only swaps one printable character for another (must allow non-printable modifier inclusion).

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

Open the remap UI and try assigning a shortcut using Ctrl/Alt/Shift plus a letter: if it only accepts a bare printable character with no modifier option, it fails.

How to fix

The single-key shortcut must be turn-off-able, remappable to include a modifier key, or active only when its control has focus. 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 an insurance company's claims form, this barrier is gone for speech-input users and people who press keys accidentally — they can finish what they came here to do.

Who is affected

Speech-input users and people who press keys accidentally.

Learn more