Saturday, 3. June 2006, 01:22:29
We have been working on the accesskey implementation in Opera. Accesskeys are nice things for people who find it hard to drive the computer - for example people with various kinds of "motor disabilities". Parkinsons's disease, cerebral palsy, various types of paralysis, repetitive strain injuries, etc.
The way people use them in a web page is to declare an accesskey for a link or control. For example
<a href="http://my.opera.com/chaals" accesskey="c">My Blog</a>
is a bit of HTML that makes a link to my blog, and gives it the accesskey "c". Somehow, this is then supposed to help you get to that link extra quickly - instead of having to go through the entire list of links using q/a keys (or tab, and also have to stop at form controls and other stuff, if you use another browser), you can get straight there.
The problem is that Internet Explorer followed a "helpful" suggestion added in the W3C specification, to use "alt" plus the character as a way of getting there, and "cmd" (the squiggly thing also called apple) on macintosh. Netscape followed them, and Mozilla followed Netscape.
Any mac user will tell you that cmd-c is copy, on any mac application in any situation any time. Except (perhaps) on my page. Similarly, if I used the accesskey "f", anyone knows that on windows alt-f opens the file menu - one of the most basic functions of the Windows user interface.
Well, Opera solved that some years ago. Instead of having to guess whether standard shortcuts were being overridden, there is a key to trigger accesskey mode. You press it, and the next key is treated as the accesskey. By default it is shift-esc which is perhaps not the easiest one, but I remap it (preferences -> advanced -> keyboard shortcuts) to "." since I don't use that.
So now I just press ". c" to get to my page. But wait! How do I know?
Well, in all browsers except iCab, until recently, there is no way to find out. The site might mark the keys it uses, or might not.
So now we have a popup that tells you what the options are. Grab a
weekly build, find a page which uses accesskeys (they are very common in UK pages such as the
BBC) and press shift-escape (or whatever you configured it to).
And give us feedback. We realise that this isn't perfect yet, but I think it is now best-of-breed. (Sadly, that hasn't been a hard point to reach, which doesn't reflect well on any browser). There's more to be done on it, but a start is good.
I trust that my good friend John Foliot will have somethign to say about this by and by (he andd I have been discussing accesskeys for many years already), and maybe others. Many thanks to Petter and others for getting it going.