[Bug 26229] New: role presentation on img element with alt="" in HTML5 spec VS WAI-ARIA in HTML document

https://www.w3.org/Bugs/Public/show_bug.cgi?id=26229

            Bug ID: 26229
           Summary: role presentation on img element with alt="" in HTML5
                    spec VS WAI-ARIA in HTML document
           Product: HTML WG
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTML5 spec
          Assignee: dave.null@w3.org
          Reporter: aurelien.levy@gmail.com
        QA Contact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html-admin@w3.org,
                    public-html-wg-issue-tracking@w3.org

The current version of the HTML5 spec on the img element here
http://www.w3.org/html/wg/drafts/html/master/embedded-content.html#the-img-element
state :

Allowed ARIA role attribute values:
presentation role only, for an img element whose alt attribute's value is empty
(alt=""), otherwise any role value.

The using WAI-ARIA in HTML, state in the recommendation table :
img with alt="" | role=presentation | NO | NONE 

So if i follow the HTML5 I can use role="presentation" only if the img has an
alt="", and if I follow the recommendation table I can't.

One of the document must be changed at least.

I propose to change the recomandation table to :

img without alt | role="img" | NO | Role: Any, Any global aria-* attributes and
any aria-* attributes applicable to the allowed roles

img with alt="" | role="presentation" | NO | role=presentation 

img with alt="some text" | role="img" | NO | Role: Any, Any global aria-*
attributes and any aria-* attributes applicable to the allowed roles Not
role=presentation

Otherwise the spec must change to something like :

Allowed ARIA role attribute values:
any role value except role presentation. 
(except if you want to allow it on img element with alt="some text" witch sound
strange for me)

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Saturday, 28 June 2014 10:41:56 UTC