• 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

remapInput.addEventListener('keydown', (e) => {
  if (e.key.length === 1) { // only accepts a single printable character
    saveShortcut('attachFile', e.key);
  }
  // Ctrl, Alt, and function-key combinations are silently ignored
});

Why it matters

A claimant whose speech-input software conflicts with every unmodified letter can't remap the shortcut to a safe modifier combination like Ctrl+Shift+A.

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

A compliant remap tool must accept modifier-plus-key combinations, not just alternate printable characters, since only modifiers avoid dictation conflicts.

remapInput.addEventListener('keydown', (e) => {
  e.preventDefault();
  const combo = [e.ctrlKey && 'Ctrl', e.altKey && 'Alt', e.shiftKey && 'Shift', e.key]
    .filter(Boolean).join('+');
  saveShortcut('attachFile', combo);
});

Outcome

A claimant remaps the attach-file shortcut to Ctrl+Shift+A and dictates freely again.

Who is affected

Speech-input users need a modifier-based remap option, and a printable-character-only remap tool leaves them with no safe choice.

Learn more