Closed Bug 1195219 Opened 9 years ago Closed 2 years ago

Tab focus got stuck/ cannot focus on image map area element

Categories

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

40 Branch
x86_64
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: andy.kmc, Unassigned, Mentored)

Details

(Keywords: access)

Attachments

(1 file)

Attached image BUG.png
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.155 Safari/537.36

Steps to reproduce:

1. Resize browser viewport to less than 550px (a height in which the image map in the following link goes off the screen when page first load)
2. Goto www.w3.org/WAI/UA/TS/html401/cp0102/0102-ONFOCUS-ONBLUR-MAP-AREA.html
3. Try Tab to focus on links


Actual results:

The focus got stuck on "Provision 2" link


Expected results:

All the links and image map links can be tab focused from top to the bottom of the page.
Severity: normal → critical
OS: Unspecified → Windows 7
Hardware: Unspecified → x86_64
Component: Untriaged → Keyboard: Navigation
Product: Firefox → Core
Not very critical, the bug exists in FF8, so it's old.
Severity: critical → normal
Status: UNCONFIRMED → NEW
Ever confirmed: true
I can definitely confirm this bug. Forward tabbing gets stuck on "Provision 2", backwards tabbing gets stuck on the "HTML 4.01 specification" link. I don't even have to resize or do anything with my Firefox window, I just tab through.

Neal, is this a possible late fall-out find from the focus management rewrite in bug 178324, or something completely different?
Flags: needinfo?(enndeakin)
Keywords: access
That this depends on the imagemap having never being visible, this is probably related to the unusual frame handling of image maps (bug 135040).
Flags: needinfo?(enndeakin)
In fact, I think I remember this bug from long ago. I think we just need to ensure that the imagemap gets initialized (by calling nsImageFrame::GetImageMap) within nsFocusManager::GetNextTabbableMapArea.
Mentor: enndeakin
Component: Keyboard: Navigation → User events and focus handling

I could not reproduce on 97 and recent Nightly, close as WORKSFORME.
Feel free to reopen or file a new bug if you still could encounter this bug. Thanks!

Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: