Skip to content
EUID Audit service & seal, Home
Get your website audited

This translation has not been editorially reviewed yet. The German version is authoritative. Deutsche Fassung

Accessibility

Why do single-letter keyboard shortcuts need a way to be turned off?

Keyboard shortcuts consisting of just a single letter, digit, or punctuation mark need a way to be turned off or remapped, because voice control and accidental keypresses would otherwise trigger them unintentionally. Anyone operating their computer by voice dictates whole words — every letter in them can be misinterpreted as a shortcut, deleting a message or archiving an email, for instance. WCAG criterion 2.1.4 governs exactly this case.

Single-key shortcuts: convenient for some, risky for others

Many web apps offer shortcuts such as "E" for archiving or "J" for the next item. For experienced power users, that's convenient. For people using voice control, it becomes a minefield: their dictation arrives as a sequence of individual keypresses, and every "e" in a spoken sentence can trigger an action. Anyone who mistypes due to a motor impairment also triggers functions unintentionally. WCAG names three permitted ways out: the shortcut can be turned off, it can be remapped to a combination with a modifier key such as Ctrl or Alt, or it only works while the relevant element has focus.

How the audit service reports this criterion

Whether a page uses single-key shortcuts, and whether they can be turned off, can't be reliably established by a machine — that would require testing software to press every key and interpret the consequences, which has no place on someone else's live website. Our measurement engine deliberately works passively and only types a single test character into a field it has confirmed is focused. The audit report therefore lists every WCAG criterion individually: passed, violated, needs manual review, or not automatable. This criterion appears as an open check point — you see what was checked, and you claim nothing to anyone beyond what the measurement actually supports.

Examples

Individual letters as abbreviations

Not met
document.addEventListener("keydown", (e) => {
  if (e.key === "n") neueNachricht();
});
Passes
document.addEventListener("keydown", (e) => {
  if (e.key === "n" && e.ctrlKey && e.altKey) neueNachricht();
});
// oder: Kürzel nur aktiv, wenn ein Element fokussiert ist, oder abschaltbar in den Einstellungen

Voice control generates letters when people speak. An abbreviation of a letter then triggers unintentionally.

  • Ask your agency whether your website or customer portal uses single-character keyboard shortcuts.
  • Require a setting for every such shortcut to turn it off or remap it to a combination with Ctrl or Alt.
  • Only let shortcuts work with no modifier key while the relevant element currently has focus — such as arrow keys in an image gallery.
  • Document existing shortcuts visibly on the page, so users know about them and can turn them off deliberately.

Deutsche Fassung dieser Seite

  • Seal Digitale Barrierefreiheit
  • Seal Daten & Recht
  • Seal Technische Qualität
  • Seal Digital Excellence
  • Seal Cyberversicherung

Audited. For a better digital future.euid.com