W3C home > Mailing lists > Public > www-validator-css@w3.org > December 2005

Bug: doesn't warn when background or text color is set without setting both

From: Gavin Stokes <gavin@AmbitiousProductions.com>
Date: Fri, 02 Dec 2005 18:31:22 -0800
Message-Id: <6.2.3.4.2.20051202180408.040c4480@mail.modwest.com>
To: www-validator-css@w3.org

The validator needs to warn when a page or style sets either the text 
or background color without setting both.  The most common result of 
this error is invisible text, which occurs when a page forces a white 
background on the browser but neglects to set the text color.  On any 
system where the OS's default text color is white, the result will be 
white text on the white background.

To reproduce on Windows, go into the Display/Appearance settings and 
pick the "high contrast black" color scheme.  Then visit 
http://developers.videolan.org/svn.html, a page that features the 
"W3C check" logo at the bottom.  Most of the page's text is 
invisible, so it definitely shouldn't have passed validation.
Received on Sunday, 4 December 2005 02:12:56 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 27 June 2012 00:14:16 GMT