• Success Criterion 2.1.4
  • Conformance level A

Keyboard Shortcut That Fires Even While Typing in a Field

2.1.4 — Character Key Shortcuts

Scenario

Setting

A pharmacy app's prescription-refill form

What’s wrong

Shortcut active while focus is in text inputs (typed letters trigger actions).

Example

During an audit of a pharmacy app's prescription-refill form: shortcut active while focus is in text inputs (typed letters trigger actions).

Why it matters

Speech-input users and people who press keys accidentally. The practical effect on a pharmacy app's prescription-refill form: they can't complete the task using a keyboard alone.

How to test

Focus a text input field and type a letter that's also a shortcut elsewhere on the page: if the shortcut fires instead of (or in addition to) the letter being typed, 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.

Outcome

That one change on a pharmacy app's prescription-refill form means they reach and operate the control without a mouse.

Who is affected

Speech-input users and people who press keys accidentally.

Learn more