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

RE: Colors and the WCAG

From: John Foliot - bytown internet <foliot@bytowninternet.com>
Date: Sat, 19 Oct 2002 18:05:24 -0400
To: "Charles McCathieNevile" <charles@w3.org>, "Joe Clark" <joeclark@joeclark.org>
Cc: "WAI-IG" <w3c-wai-ig@w3.org>, <c.bottelier@iradis.org>
Message-ID: <GKEFJJEKDDIMBHJOGLENKEPGCMAA.foliot@bytowninternet.com>

> If you set foreground colours but not background colours you haven't
> specified any contrast, and have therefore failed the checkpoint, in my
> opinion. But Joe is right that you don't need to do this for
> every element -
> you can use the inheritance of properties if you have set a background
> globally and foregrounds locally or vice versa.

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.

Received on Saturday, 19 October 2002 18:05:49 UTC

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