• Success Criterion 2.1.4
  • Conformance level A

Shortcut Toggle Setting That Resets on Every Page Load

2.1.4 — Character Key Shortcuts

Scenario

Setting

A project-management tool's task board

What’s wrong

Toggle exists but doesn't persist (resets every load) or is itself unreachable by keyboard/speech.

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

Change a shortcut or disable it, then reload the page: if the setting resets to default instead of persisting, 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 a project-management tool's task board, this barrier is gone for speech-input users and people who press keys accidentally — they reach the same outcome without extra effort.

Who is affected

Speech-input users and people who press keys accidentally.

Learn more