W3C home > Mailing lists > Public > public-html@w3.org > June 2009

Re: Accesskey issues

From: Simon Pieters <simonp@opera.com>
Date: Sat, 06 Jun 2009 09:45:30 +0200
To: "Ian Hickson" <ian@hixie.ch>
Cc: "public-html@w3.org" <public-html@w3.org>
Message-ID: <op.uu3eh4r2idj3kv@simon-pieterss-macbook.local>
On Sat, 06 Jun 2009 01:15:51 +0200, Ian Hickson <ian@hixie.ch> wrote:

>> Also, there's some magic required with focusing and accesskey that i
>> don't quite remember. e.g. for fieldset, legend and label you don't
>> focus the element itself but a form control.
> Currently <fieldset>, <legend>, and <label> in HTML5 don't support
> accesskey="" (since they can't be focused directly). Should they? How
> should it work?

<legend accesskey=1> will focus/activate the first focusable element that  
comes after the <legend> itself, in tree order. If there is no such  
element, does nothing.

<label accesskey=1> will focus/activate the label's associated control. If  
there is no such element, does nothing.

<fieldset> is not magic.

Simon Pieters
Opera Software
Received on Saturday, 6 June 2009 07:46:17 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 29 October 2015 10:15:46 UTC