Closed Bug 254011 Opened 21 years ago Closed 21 years ago

After focusing an element with a negative tabindex, tab relative to it's position in doc

Categories

(Core :: DOM: UI Events & Focus Handling, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: aaronlev, Assigned: aaronlev)

References

(Blocks 1 open bug)

Details

(Keywords: access)

Attachments

(1 file)

Steps: 1. Load http://www.moonset.net/aaronwork/tests/dhtml/checkbox-with-ns.html 2. Click on button "Click here to try and focus the untabbable" or button "Focus the span in brackets" 3. Press Tab or Shift+Tab What happens: Focus jumps Expected: Tabbing should behave naturally in this situation as it does in IE, and move relative to the current position in the doc.
Attachment #154988 - Flags: review?(bryner)
Attachment #154988 - Flags: review?(bryner) → review+
Attachment #154988 - Flags: superreview?(jst)
Comment on attachment 154988 [details] [diff] [review] 1) Ignore tabindex when it's negative in GetNextTabbableContent() 2) Get rid of unnecessary TabIndexFrom() code sr=jst
Attachment #154988 - Flags: superreview?(jst) → superreview+
Checking in nsEventStateManager.cpp; /cvsroot/mozilla/content/events/src/nsEventStateManager.cpp,v <-- nsEventStateManager.cpp new revision: 1.517; previous revision: 1.516 done Checking in nsEventStateManager.h; /cvsroot/mozilla/content/events/src/nsEventStateManager.h,v <-- nsEventStateManager.h new revision: 1.116; previous revision: 1.115 done
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Component: Keyboard: Navigation → User events and focus handling
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: