davidfowl/JabbR — pull request #130 by Haacked (2011-12-01 07:11:18+00:00)
Title: Added accesskeys for the chatroom tabs. Fixes #122.

I had to implement this using buttons rather than anchors. This blog post
on [browsers and html accesskeys](http://formattc.wordpress.com/2010/11/03/browsers-and-the-html-accesskey/)
explains why.

When using accesskeys on an anchor in IE, it doesn't produce a click
event like it does on other browsers. Using a button always produces
a click event.

`ALT+0` takes you to the lobby.
`ALT+1` takes you to the first room
...

On Firefox, it's `SHIFT+ALT+_RoomNumber_`

Also, on all browsers, `ALT+LeftArrow` and `ALT+RightArrow` lets you cycle
through the rooms.