New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.
Starred by 2 users
Status: Fixed
Owner: ----
Closed: Sep 2014
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 2
Type: Bug
Team-Accessibility



Sign in to add a comment
HTML5 implement alt="" as role=presentation
Project Member Reported by faulkner...@gmail.com, Jun 18 2014 Back to list
Version: 35
OS: windows 8.1

The HTML spec[1] requires an img element with an empty alt (alt="") to be mapped to role=presentation


Chrome does not currently implement this (webkit does)[2], please do

test file http://stevefaulkner.github.io/html-mapping-tests/browser-tests/image.html 

[1]http://www.w3.org/html/wg/drafts/html/master/dom.html#sec-strong-native-semantics
[2]http://stevefaulkner.github.io/html-mapping-tests/
 
I think this is working fine on chrome 37.0.2062.120 (Official Build 281580) m and chrome 39.0.2167.0 (Official Build) canary.

img tag with empty alt, is acting as role presentation or none i.e. it doesnt expose.

<html>
<body>
<img src="250x250.jpg" alt="">
</body>
</html>

AX Tree:

ROLE_SYSTEM_DOCUMENT READONLY FOCUSABLE
    IA2_ROLE_SECTION READONLY


For following content

<html>
<body>
<img src="250x250.jpg" alt="abc">
</body>
</html>

AX Tree is 

ROLE_SYSTEM_DOCUMENT READONLY FOCUSABLE
    IA2_ROLE_SECTION READONLY
        ROLE_SYSTEM_GRAPHIC
Cc: shreera...@samsung.com
Status: Fixed




Sign in to add a comment