W3C home > Mailing lists > Public > w3c-wai-gl@w3.org > April to June 2006

CSS Parsed Unambiguously

From: Chris Ridpath <chris.ridpath@utoronto.ca>
Date: Fri, 9 Jun 2006 13:43:41 -0400
Message-ID: <035201c68bec$3f3c58a0$e29a968e@WILDDOG>
To: "WAI WCAG List" <w3c-wai-gl@w3.org>

Success Criteria 4.1.1 requires the web unit be parsed unambiguously. The 
conformance section specifies that all content, including secondary 
resources, must be included for conformance. So it seems that if your CSS 
does not validate then you'll fail SC 4.1.1 (level 1).

Here's an example file that includes an invalid CSS (missing a semicolon).
http://checker.atrc.utoronto.ca/docs/file4.html
http://checker.atrc.utoronto.ca/docs/test1.css

The W3C's validator says regarding the example file: "your CSS style sheet 
needs a correct document parse tree".

I'm just checking with the group on this because invalid CSS is a fairly 
common problem yet doesn't affect accessibility very much.

Do stylesheets need to be valid for level 1 conformance?

Cheers,
Chris
Received on Friday, 9 June 2006 17:45:29 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:47:46 GMT