Open
Bug 964058
Opened 12 years ago
Updated 3 years ago
image map links not displayed or operable when img src broken
Categories
(Core :: Layout, defect, P4)
Tracking
()
NEW
People
(Reporter: faulkner.steve, Unassigned)
Details
When an img has associated active areas via usemap and the img src is broken the alt text of the area elements is not displayed so links become mystery meat.
reproduce:
open https://dl.dropboxusercontent.com/u/377471/image-map.html
contains an img with associated <area> elements. As the img src is incorrect none of the active areas (links) are operable or visible i.e. no fallback.
expected behaviour:
the area elements are displayed on the page as links with the link text as per the alt attribute text of the area elements.
Updated•12 years ago
|
Severity: normal → minor
Component: Layout: Text → Layout: Misc Code
OS: Windows 8.1 → All
Priority: -- → P4
Hardware: x86_64 → All
Comment 1•11 years ago
|
||
This may be a duplicate of https://bugzilla.mozilla.org/show_bug.cgi?id=8131
It's worth pointing out (once again) that unless the image was loaded properly, the map and its area elements are completely useless. They cannot be focused by script, they cannot be tabbed to, they cannot be clicked on.
Since area elements cannot by styled themselves and they're not easily accessible via the img element in CSS, it is not possible to work around this problem without employing JavaScript.
Updated•7 years ago
|
Product: Core → Core Graveyard
Assignee | ||
Updated•7 years ago
|
Component: Layout: Misc Code → Layout
Product: Core Graveyard → Core
Updated•3 years ago
|
Severity: minor → S4
You need to log in
before you can comment on or make changes to this bug.
Description
•