- From: <bugzilla@jessica.w3.org>
- Date: Thu, 28 Jun 2012 10:54:12 +0000
- To: public-html-bugzilla@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=17629 steve faulkner <faulkner.steve@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |faulkner.steve@gmail.com --- Comment #1 from steve faulkner <faulkner.steve@gmail.com> 2012-06-28 10:54:19 UTC --- (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 -- Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug.
Received on Thursday, 28 June 2012 10:54:22 UTC