[whatwg] Negative tabindex

Martijn martijn.martijn at gmail.com
Thu Apr 12 13:04:58 PDT 2007


According to:
http://www.whatwg.org/specs/web-apps/current-work/#negative-tabindex
"
A negative integer specifies that the element should be removed from
the tab order. If the element does normally take focus, it may still
be focused using other means (e.g. it could be focused by a click).
"

That appears not to be true in IE7, see:
<div tabindex="-1" onfocus="alert('div')">click me</div>
This triggers the alert in IE7.

So it seems to me the " If the element does normally take focus,"
should be removed.

Regards,
Martijn


--
Martijn Wargers
Help Mozilla!
http://weblogs.mozillazine.org/qa/
http://www.mozilla.org/contribute/



More information about the whatwg mailing list