This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
On the Presentation Role section of W3C ARIA Authoring Practices ( http://www.w3.org/WAI/PF/aria-practices/#presentation_role ), it states that img elements can be validly without alt="" if they have role="presentation". However, W3C markup validator currently treats that as invalid. Is that because of one of the following reasons? * The statement conflicts with HTML5 spec * The statement is true and HTML5 spec has not been updated * The markup validator has a bug
(In reply to comment #0) > On the Presentation Role section of W3C ARIA Authoring Practices ( > http://www.w3.org/WAI/PF/aria-practices/#presentation_role ), it states that > img elements can be validly without alt="" if they have role="presentation". > However, W3C markup validator currently treats that as invalid. > > Is that because of one of the following reasons? > > * The statement conflicts with HTML5 spec > * The statement is true and HTML5 spec has not been updated > * The markup validator has a bug its the first: * The statement conflicts with HTML5 spec In HTML5 the only conforming instance where an img element can be without an alt attribute is if the img is contained with a figure element which has a non empty figcaption http://dev.w3.org/html5/spec/the-img-element.html#guidance-for-conformance-checkers <figure> <img> <figcaption>caption text</figcaption> </figure> note: conformance checkers are also currently allowed to suppress missing alt errors for pages that include a meta name=generator, but this is under review: http://lists.w3.org/Archives/Public/public-html/2012Jun/0137.html
Hi Steve, Thanks! Is W3C currently accept suggestions for such cases? If so, I would like to make a suggestion to add one more conforming instance where an img element can be without an alt attribute if the img's ARIA role is "presentation" (role="presentation"). Thanks, Ian
(In reply to comment #2) > Hi Steve, > > Thanks! Is W3C currently accept suggestions for such cases? If so, I would like > to make a suggestion to add one more conforming instance where an img element > can be without an alt attribute if the img's ARIA role is "presentation" > (role="presentation"). > > Thanks, > Ian Hi Ian, The idea has been dicusssed previously and rejected as the conformance requirements hor HTML5 should not be based on external specifications. You can of course refloat the idea
Hi Steve, Thanks a lot. Since it has been discussed before, I will not refloat it. Regards, Ian
This bug was cloned to create bug 17963 as part of operation convergence.
EDITOR'S RESPONSE: This is an Editor's Response to your comment. If you are satisfied with this response, please change the state of this bug to CLOSED. If you have additional information and would like the Editor to reconsider, please reopen this bug. If you would like to escalate the issue to the full HTML Working Group, please add the TrackerRequest keyword to this bug, and suggest title and text for the Tracker Issue; or you may create a Tracker Issue yourself, if you are able to do so. For more details, see this document: http://dev.w3.org/html5/decision-policy/decision-policy.html Status: Rejected Change Description: No change. Rationale: The originator has withdrawn the request.