- From: <bugzilla@jessica.w3.org>
- Date: Thu, 04 Apr 2013 13:46:29 +0000
- To: public-html-bugzilla@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=21579 Bug ID: 21579 Summary: Empty @alt should not imply role="presentation" if the <img> has @usemap Classification: Unclassified Product: HTML WG Version: unspecified Hardware: PC URL: http://www.w3.org/TR/html5/dom.html#sec-strong-native- semantics OS: All Status: NEW Severity: normal Priority: P2 Component: HTML5 spec Assignee: dave.null@w3.org Reporter: xn--mlform-iua@xn--mlform-iua.no QA Contact: public-html-bugzilla@w3.org CC: faulkner.steve@gmail.com, mike@w3.org, public-html-admin@w3.org, public-html-wg-issue-tracking@w3.org, xn--mlform-iua@xn--mlform-iua.no See comment number 10 in bug 21565 https://www.w3.org/Bugs/Public/show_bug.cgi?id=21565#c10 If empty @alt on @usemap were to imply role="presentation", then the entire image map would have to stop working. This follows from ARIA’s requirement that elements that are "linked" should be altogether disabled if one disables the "main" elment. (E.g. if you do <table role="presentation">, then all the childrene elements will be disabled as well) Looking in Safari + VoiceOver, there is thus a difference between doing 1) <img role="presentation" usemap="#map" alt="alt" src="src" /> on one side, and on the other side only use empty alt: 2) <img usemap="#map" alt="" src="src" /> In the first case, the entire image map stops working, while in the other case, the image map works just fine. (Also, in Safari + VoiceOver, the alt of the img in the image map seems to not be presented to the user - only the alt of the area elements are presented.) I think we can take for granted that there are many image maps around where there is an empty @alt, and where the author have not intended that this would make the image map stop working in AT. Further more, adding role="presentation" on an anchor element does as well not remove its interactivity. And given that image maps are links, to the extent that HTML5 requires the CSS img:link{} selector work for images that are image maps, it does not make sense to say that empty alt should remove the image map <img> elements from the accessibility tree. -- You are receiving this mail because: You are the QA Contact for the bug.
Received on Thursday, 4 April 2013 13:46:34 UTC