This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
+++ This bug was initially created as a clone of Bug #26149 +++ The HTML spec[1] requires an img element with an empty alt (alt="") to be mapped to role=presentation[3] Firefox/IE/Chrome does not currently implement this (webkit does)[2] [1]http://www.w3.org/html/wg/drafts/html/master/dom.html#sec-strong-native-semantics [2]http://stevefaulkner.github.io/html-mapping-tests/ [3] effect of role=presentation http://www.w3.org/TR/wai-aria-implementation/#mapping_general from bug opened on firefox there is pushback https://bugzilla.mozilla.org/show_bug.cgi?id=1027018
*** Bug 26149 has been marked as a duplicate of this bug. ***
imo that'd be confusing since img@alt="" and role="presentation have different mappings into accessibility API.
The *intention* of img @alt="" is to mark an image as presentational. So I am, in principle, fine with mapping this to a role "presentation", effectively taking the image out of the accessible tree. The only thing I subjected to in the very old Mozilla bug 485181 was what happens if an img is present, but has no alt attribute at all. Those should *not* be marked as presentational, since they may be important, but subject to authoring error. Screen readers should be able to do something with these.
Steve - please move somewhere else if this is still an issue.