W3C home > Mailing lists > Public > whatwg@whatwg.org > April 2007

[whatwg] Negative tabindex

From: Martijn <martijn.martijn@gmail.com>
Date: Thu, 12 Apr 2007 22:04:58 +0200
Message-ID: <6c97b8b10704121304xe265fdbxa3b91512b674e7a5@mail.gmail.com>
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!
Received on Thursday, 12 April 2007 13:04:58 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:54 UTC