Closed
Bug 252797
Opened 21 years ago
Closed 21 years ago
tabIndex defaults to -1
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: darrenk, Unassigned)
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040206 Firefox/0.8
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040616
Defaulting the tabIndex to -1 does not make sense. The tab order should skip
negative numbers in the index, so theoretically all field should be excluded
from the tabbing by default. This also makes it impossible to detect which
fields were excluded if the page designer sets the tabIndex attribute to -1 in
the tag.
Reproducible: Always
Steps to Reproduce:
1. Create a form and include a few INPUT fields.
2. Inspect the tabIndex attibute of those INPUT fields.
3.
Actual Results:
The tabIndex attibute for all fields was showing in the script debugger as -1.
Expected Results:
I would have expected them to be 0 at the least so that explicitally skipped
fields could be differentiated from the others.
Comment 1•21 years ago
|
||
This was fixed by the patch in bug 171366.
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•