[whatwg] Negative tabindex

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

According to:
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.


Martijn Wargers
Help Mozilla!

More information about the whatwg mailing list