Joe Gregorio's writings (archives), projects and status updates.
Congrats, your new site is redesigned, all shiny and new, and in the redesign you decided to cover accessibility and in the process start using accesskey. Now
accesskey is neat, in that it which gives you the power to re-map keys to move the keyboard focus to a control or to follow a link, but with that power comes responsibility. You can add an
accesskey attribute to
I use the keyboard shortcuts for all my applications as much as possible. One of those keyboard shortcuts I use all day is Alt-D, which from within Mozilla or IE will jump the keyboard focus to the address bar of the browser. Unless of course, I'm reading your webpage where you have defined the ACCESSKEY D to jump to some particular link or web form element. Bugzilla is one such example. That is annoying. Don't do that. You are actually reducing your sites accessibility. While were at it, never define ACCESSKEY bindings for:
Your safest bet, if you want access keys, is to bind them to numeric keys only, which has the smallest chance of conflicting with browser based keyboard shortcuts.
Further reading: Improving accessibility with accesskey in HTML forms and links.
Update 1: Damian Cugley points out that the exact keys listed above can't be counted in because the shortcut keys for the browser depend on the I18N of the browser. All the more reason to stick to numeric access keys.
Update 2: Just stumbled across another site: National Film Board of Canada. Do I need to start a running list?