[whatwg] accesskey

Krzysztof Żelechowski giecrilj at stegny.2a.pl
Mon Jan 28 08:31:46 PST 2008


Dnia 25-01-2008, Pt o godzinie 23:06 -0500, Jean-Nicolas Boulay
Desjardins pisze:

> In the present standard you are alowd to use the same accesskey in to
> different links... For example:
> 
> <a href="bob.html" accesskey="b">Bob web page</a>
> <a href="bob.html" accesskey="b">Bob web page</a>
> 
> But what would happend if this was to happend:
> 
> <a href="bob.html" accesskey="b">Bob web page</a>
> <a href="alex.html" accesskey="b">Alex web page</a>
> 
> Again this is allowed in the present web standard, but if you think
> about it its illogical, on what bases thus the browser decide wich one
> to access first or should it open the tow?

The visible and enabled elements marked with the same access key 
should take focus in turn and in page order.  
If the element is an active element, 
its action should not be performed.

Chris




More information about the whatwg mailing list