[Bug 27076] Change tabIndex spec to only declare 0 and -1 as valid values

https://www.w3.org/Bugs/Public/show_bug.cgi?id=27076

Michael[tm] Smith <mike@w3.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Whiteboard|                            |affects_validator

--- Comment #4 from Michael[tm] Smith <mike@w3.org> ---
(In reply to alexander surkov from comment #1)
> it's not backward
> compatible change and will regress people who doesn't misuse it so perhaps
> it's safer to introduce new attribute.

(In reply to steve faulkner from comment #3
> (In reply to Marco Zehe from comment #2)
> > As I write above, I don't know of any site which uses tabIndex with a
> > positive integer value correctly. On the contrary, all support/advice
> > inquiries I get have to do with the fact that it is being misused, primarily
> > due to lack of awareness.
> 
> I will grep some HTML data and see what examples I come up with.

Yeah it would help a lot to have some hard data about it, and an analysis of
that data.

(In reply to Marco Zehe from comment #2)
> On the contrary, all support/advice
> inquiries I get have to do with the fact that it is being misused, primarily
> due to lack of awareness.

Short of making values other than 0 or -1 invalid, another option for raising
awareness would be:

1. In http://www.w3.org/html/wg/drafts/html/master/editing.html#attr-tabindex
change the statement about the allowed value of tabindex to read something
like, "The tabindex attribute, if specified, should have a value of either 0 or
-1. The value must otherwise be a valid integer. However, values other than 0
or -1 are considered _obsolete but conforming_."

2. In
http://www.w3.org/html/wg/drafts/html/master/obsolete.html#obsolete-but-conforming-features
add the statement, "The tabindex attribute is fully conforming but authors
should not specify values for it other than 0 or -1."

3. The validator is updated to emit a warning (not error) message about any
tabindex value other than 0 or -1.)

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Thursday, 16 October 2014 22:22:14 UTC