dotjay (home) | dotjay’s lab / notes / web-apps / keyboard-shortcuts

Accessible Keyboard Shortcuts

Last updated: January 14, 2013

If you find any of the information useful, or if you find anything to be incomplete or inaccurate, please let me know.

The problem

Since most assistive technology software is controlled using keyboard shortcuts, web developers must be very careful when adding keyboard shortcuts to applications in order to avoid conflicts. This is the root of the problem with using accesskeys!

Best practices

Note: This section is still under development. Please get in touch with any ideas.

Some best practices for implementing key handlers in JavaScript:

Code examples

Coming very soon!

Footnotes

  1. Some applications use the ? character to bring up a help dialog. This character is a special case. In Mozilla, it only fires on an onkeypress event and is only detectable on the event's charCode property.
  2. Common Opera keys: