Open Bug 1117759 Opened 10 years ago Updated 4 years ago

Impossible to use an anchor link to go on an image-map

Categories

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

34 Branch
x86_64
Windows 7
defect

Tracking

()

People

(Reporter: sebastien, Unassigned)

References

Details

(Keywords: testcase)

Attachments

(2 files)

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:34.0) Gecko/20100101 Firefox/34.0 Build ID: 20141126041045 Steps to reproduce: In a page, there are an anchor link <a href="#map">Go to the map</a> and links. Then there is <div id="map">, inside this <div>, there are <map> and <area> tags, and then the last link. I focus (tab key) on the anchor link <a href="#map">Go to the map</a>, then I press enter (see attached files). Actual results: The next focus is on "Last link" (see attached files) and not on <area>. Expected results: The next focus should have been on <area alt="Nord-Pas-de-Calais"> because it is the first focusable element on <div id="map"> (see attached files).
Attached file index.html (deleted) —
Keywords: testcase
Product: Firefox → Core
Attached file index_kan - Copy.html (deleted) —
Hello Reporter, thanks for reporting this issue. I tried using your attached html file and comparing the behavior between the latest versions of Firefox (43.0.3) and Chrome (Version 47.0.2526.106 m) and did see difference in behavior with respect to where the next tab takes the user to. Firefox was taking the next focus to "Last Link" while Chrome was taking the next tab to "Go To the map" link. However, as soon as I modified your HTML (attached) to duplicate the issue that you reported, I could clearly see that Firefox was not taking me to the expected map using the anchor link while Chrome was working fine. I tested it on: Name Firefox Version 43.0.3 Build ID 20151223140742 Update Channel release User Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:43.0) Gecko/20100101 Firefox/43.0 and Name Firefox Version 46.0a1 Build ID 20160104030217 Update History Update Channel nightly User Agent Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:46.0) Gecko/20100101 Firefox/46.0
Status: UNCONFIRMED → NEW
Component: Untriaged → HTML: Parser
Ever confirmed: true

Bulk-downgrade of unassigned, 4 years untouched DOM/Storage bugs' priority.

If you have reason to believe this is wrong (especially for the severity), please write a comment and ni :jstutte.

Severity: normal → S4
Priority: -- → P5
Component: DOM: HTML Parser → DOM: UI Events & Focus Handling
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: