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

NEW
Unassigned

Status

()

3 years ago
3 years ago

People

(Reporter: andy.kmc, Unassigned, Mentored)

Tracking

({access})

40 Branch
x86_64
Windows 7
access
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

3 years ago
Created attachment 8648635 [details]
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.
(Reporter)

Updated

3 years ago
Severity: normal → critical
OS: Unspecified → Windows 7
Hardware: Unspecified → x86_64

Updated

3 years ago
Component: Untriaged → Keyboard: Navigation
Product: Firefox → Core

Comment 1

3 years ago
Not very critical, the bug exists in FF8, so it's old.
Severity: critical → normal

Updated

3 years ago
Status: UNCONFIRMED → NEW
Ever confirmed: true

Comment 2

3 years ago
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

Comment 3

3 years ago
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)

Comment 4

3 years ago
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
You need to log in before you can comment on or make changes to this bug.