W3C home > Mailing lists > Public > public-html@w3.org > September 2007

Fwd: accesskey usage Re: Proposal for Keyboard Shortcuts for HTML5

From: Garrett Smith <dhtmlkitchen@gmail.com>
Date: Sat, 22 Sep 2007 01:39:22 -0700
Message-ID: <c9e12660709220139s53a9094ar4fcddba7591f6c43@mail.gmail.com>
To: public-html@w3.org
On 9/21/07, Charles McCathieNevile <chaals@opera.com> wrote:
>
> On Fri, 21 Sep 2007 12:44:53 +0200, Charles McCathieNevile
> <chaals@opera.com> wrote:
>
> > FWIW We have been doing some research into accesskey usage at Opera. I
> > hope that we will be able to publish enough information to make this
> > reproducible by anyone, but I can't promise anything yet. On a survey of
> > about a million pages, accesskey is used in about 1% of them
>
The problem is that accesskey doesn't appear in the document. It's
like having links that you can't see. Accesskey visibility is hidden.
Hiding tabindex works because authors can put there elements in order.
There's only 1 tab key, too.

You can't see what has a kbd shortcut or what that shortcut is.

I like underlining for accesskey. Windows uses that. Mac OS uses a
different approach that is also valid.

:accesskey {
    match: first-available | last-available | none;
    display: et c...
}

If accesskey were exposed to CSS, it would allow authors to provide a
more accessible accesskey. It wouldn't just be one of those annoying
things you have to do for 508.

I mentioned this on the CSS list several years ago that it would be
useful to have a selector for accesskey

Apparently, someone else took the concept into practice:
http://www.alistapart.com/articles/accesskeys/

But the problem is that the author still has the <u> tags there. The
other alternative would be a <span>, but it doesn't really belong
there either.

I really liked your progress events proposal; I'm looking forward to this one.

Garrett

> Oops. Should be 2.1%... 30765 of 1473649 to be precise. (The most common
> accesskey value, "s", was used in just under 1% of pages).
>
> cheers
>
> Chaals
>
> --
>    Charles McCathieNevile, Opera Software: Standards Group
>    hablo español  -  je parle français  -  jeg lærer norsk
> chaals@opera.com   http://snapshot.opera.com - Kestrel (9.5α1)
>
>


--
Programming is a collaborative art.
Received on Saturday, 22 September 2007 08:39:31 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:16:07 GMT