RE: Colors and the WCAG

> 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.

If it's not *wrong*, let's not worry about it.

There are tons of reasons why background could be set on one element
(like html or body) and foreground on others. Ever heard of
cascading? Or are you expect authors to manually keep track of which
foreground-background combinations they've set up for everything
under the sun?

-- 

  Joe Clark  |  joeclark@joeclark.org
  Author, _Building Accessible Websites_
  <http://joeclark.org/access/> | <http://joeclark.org/book>

Received on Saturday, 19 October 2002 18:07:58 UTC