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:
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/
Received on Thursday, 12 April 2007 13:04:58 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:34 UTC