[whatwg] Are unfocusable elements focusable with tabIndex="-1".

sjoerd at w3future.com sjoerd at w3future.com
Tue Apr 22 06:33:37 PDT 2008


An incompatibility between the implementation of tabIndex between IE and
Firefox caught my attention because Webkit is now implementing tabIndex as
well. [1]

In IE, unfocusable elements with tabIndex="-1" are still not focusable. In
Firefox they are focusable. Focusable elements stay focusable with
tabIndex="-1" in both browsers.

The HTML 5 spec specifies the IE behavior, if I read it correctly. I would
prefer the IE implementation as well, simply because that would make the
implementations compatible sooner.


Sjoerd Visscher

[1] https://bugs.webkit.org/show_bug.cgi?id=7138

More information about the whatwg mailing list