[whatwg] [html5] 9.2. Focus

Anne van Kesteren fora at annevankesteren.nl
Mon May 2 13:44:02 PDT 2005


I would like the specification to say more explicitly which value of the 
TABINDEX attribute is the default value.

For example, when I want the LI attribute of my drop down menu to be 
tabable and don't want to override the normal tabbing order there needs 
to be some kind of default value. I guess this is '0', but that should 
be more clear. (It could also be stated that elements through which can 
be tabbed by defaullt have that value. Either way is fine, but perhaps 
both should be mentioned...)

As TABINDEX is likely to affect if elements will match :enabled and 
:disabled that should be stated as well.

Also, what is the difference between '-1' and '-10000' as values for the 
TABINDEX attribute? It might make sense to say something along the lines 
of "any negative value is treated the same".

It is unclear from the specification what it means when one element has 
'1' and another has '4'. I might have missed it but I don't see which is 
supposed to be more important.

I was also wondering about inheritance.


-- 
  Anne van Kesteren
  <http://annevankesteren.nl/>




More information about the whatwg mailing list