03 April 2007 12:30
![](http://blogmarks.net/screenshots/2007/07/11/5c7dc618acc39dbfd2b8e7dfb6d4bf41.png)
Handling Keyboard Shortcuts in JavaScript
![](http://blogmarks.net/img/default-gravatar.gif)
Despite the many JavaScript libraries that are available today, I cannot find one that makes it easy to add keyboard shortcuts(or accelerators) to your javascript app. This is because keyboard shortcuts where only used in JavaScript games - no serious web application used keyboard shortcuts to navigate around its interface. But google apps like Google Reader and Gmail changed that. So, I have created a function to make adding shortcuts to your application much easier.
![](http://blogmarks.net/screenshots/2007/04/03/2275fa09e7cde844d4f73bfa658d8800.png)
Setting & Retrieving Accesskeys with JavaScript and DOM
![](http://blogmarks.net/img/default-gravatar.gif)
Accessibility expert Ian Lloyd revisits the accesskey attribute, working with JavaScript and the DOM to enable users to set their own access keys
1
(2 marks)