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: <>
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 
>not. But that is a non-trivial piece of work involving parsing both the 
>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 McFarland
UNITE Solutions
Received on Monday, 21 October 2002 03:31:22 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 13 October 2015 16:21:21 UTC