W3C home > Mailing lists > Public > w3c-wai-ig@w3.org > October to December 2002

RE: Colors and the WCAG

From: Andrew McFarland <andrew.mcfarland@unite.net>
Date: Mon, 21 Oct 2002 08:26:56 +0100
Message-Id: <5.1.0.14.0.20021021082334.009efec0@127.0.0.1>
To: WAI-IG <w3c-wai-ig@w3.org>


>On Sat, 19 Oct 2002, John Foliot - bytown internet wrote:
>
> >Actually, if you set a color to an element in your style sheet but not a
> >background color it will return as a warning from the W3C CSS validator
> >(http://jigsaw.w3.org/css-validator/).  While not *wrong* you should be
> >setting both attributes to an element.


At 10:57 20/10/2002 -0400, Charles McCathieNevile wrote:
>No, the validator should be smarter and work out whether this is a problem 
>or
>not. But that is a non-trivial piece of work involving parsing both the 
>style
>sheet and the document. For testing HTML it's easier than it is for SVG...

Isn't the point the validator _can't_ know if its a problem or not? If the 
author stylesheet has foo {background-color: red} and a user stylesheet has 
foo {color: red} then foo type elements will be unreadable.

Andrew

--
Andrew McFarland
UNITE Solutions
http://www.unite.net/
Received on Monday, 21 October 2002 03:31:22 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 19 July 2011 18:14:07 GMT