Closed Bug 56809 Opened 24 years ago Closed 24 years ago

Objects with a negative tabIndex should omitted from the tabbing order

Categories

(Core :: Layout, defect, P3)

defect

Tracking

()

VERIFIED INVALID

People

(Reporter: bugzilla, Assigned: joki)

References

()

Details

Objects with a negative tabIndex should be omitted from the tabbing order.
These is not the case in Mozilla.
Check the link:
http://msdn.microsoft.com/workshop/samples/author/dhtml/refs/tabindex1.htm
here tabbing should make the "Submit" button active.
http://www.w3.org/TR/REC-html40/interact/forms.html#h-17.11.1 says that 
'tabindex' value "must be a number between 0 and 32767".  Negative values are 
not mentioned.

Most obvious way of error handling here would be that a tabindex with a negative 
value is equivalent to no tabindex attribute at all.  Actually *using* negative 
tabindex values for something (in this case, omitting elements from tabbing 
order) sounds like a standard violation - or a proprietary extension at the very 
least.

Use the HTML 4.0 'disabled' attribute instead for disabling form elements:
http://www.w3.org/TR/REC-html40/interact/forms.html#disabled
(Obviously, this is a bit different thing, since disabled elements can be 
accessed neither from the keyboard *nor* with the mouse.  Still, it's the only 
way for omitting elements from the tabbing order mentioned by the spec.)

Marking Resolved/Invalid.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → INVALID
Marking VERIFIED.
Status: RESOLVED → VERIFIED
SPAM. HTML Element component deprecated, changing component to Layout. See bug
88132 for details.
Component: HTML Element → Layout
*** Bug 145297 has been marked as a duplicate of this bug. ***
*** Bug 189306 has been marked as a duplicate of this bug. ***
QA Contact: bugzilla → gerardok
*** Bug 218028 has been marked as a duplicate of this bug. ***
*** Bug 244143 has been marked as a duplicate of this bug. ***
*** Bug 284424 has been marked as a duplicate of this bug. ***
(In reply to comment #1)
> Use the HTML 4.0 'disabled' attribute instead for disabling form elements:

This is not only about form elements. <A anchors are also concerned.
The new webform 2 standard has decided to skip controls with negative tabindex:

http://whatwg.org/specs/web-apps/current-work/#negative-tabindex
So this has not become invalid, right?
And it seems that in current Mozilla builds, this is worksforme, regarding tabbing at least.
You need to log in before you can comment on or make changes to this bug.