Re: Accesskey issues

On Sat, 6 Jun 2009, Simon Pieters wrote:
> 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.

Done.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Thursday, 2 July 2009 04:40:08 UTC