accessibility-guidelines

This document is in beta. Help us by reporting issues via Github or email.

Back to the overview page

Custom keyboard shortcuts

Does your page provide custom keyboard shortcuts?
→ Provide a way to turn them off.

If you’ve added keyboard shortcuts that use character keys (like ‘a’, ‘2’ or ‘.’) on their own (that is, not in combination with modifier keys like Control), give people a way to them switch off or remap them.

NOTE: This success criteria does not apply if you have not implemented keyboard shortcuts.


On this page:


Requirements

Why?

Official wording in the Web Content Accessibility Guidelines

2.1.4 Character Key Shortcuts: If a keyboard shortcut is implemented in content using only letter (including upper- and lower-case letters), punctuation, number, or symbol characters, then at least one of the following is true: (Level A)

See the W3C’s detailed explanation of this guideline with techniques and examples.


Common mistakes


Guidance for design


More info

Sources

Contribute

This document is in beta. Help us by reporting issues via Github or email.