This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 27756 - object element usemap should be deprecated
Summary: object element usemap should be deprecated
Status: RESOLVED MOVED
Alias: None
Product: HTML WG
Classification: Unclassified
Component: HTML5 spec (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: This bug has no owner yet - up for the taking
QA Contact: HTML WG Bugzilla archive list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-05 20:53 UTC by Rodney Rehm
Modified: 2016-04-27 21:39 UTC (History)
4 users (show)

See Also:


Attachments

Description Rodney Rehm 2015-01-05 20:53:55 UTC
I'd like to discuss options to deprecate the usemap attribute on the object element.

> The usemap attribute, if present while the object element represents an image, can indicate that the object has an associated image map. The attribute must be ignored if the object element doesn't represent an image.

This limits maps to the case where the object element references an image, i.e. a file format that <img> already handles just fine. With the exception of SVG, which features does the object element provide an img element does not?

The move to deprecate this stems from testing [1] the current user agent landscape. While map support for <img> works in every browser, Chrome will ignore usemap completely on object elements. Firefox makes a map on an object element available to script and mouse, but not add it to the sequential navigation list ("tabbing sequence"), so it is not accessible via keyboard. Internet Explorer will make the map available only to the mouse. usemap is ignored in Firefox for SVGs.

[1] http://medialize.github.io/ally.js/tests/browser-bugs/object-map.html
Comment 1 Arron Eicholz 2016-04-27 21:39:25 UTC
HTML5.1 Bugzilla Bug Triage: Moved to Github issue: https://github.com/w3c/html/issues/285

To file additional issues please use the W3C HTML5 Issue tracker: https://github.com/w3c/html/issues/new Thanks!