Re: [css-d] accessible background images

2009-04-03 Thread Gunlaug Sørtun
Brian Hazelton wrote:
> [...] when i disable background images, the body text disappears 
> because i use a white font color because the background image is 
> almost black...how would i keep it white but make sure people with 
> images disabled can see the text?

Normal procedure is to use a dark background-color in addition to a dark
background-image as background for light text.

Background-color should be declared anyway - lack of one will trigger a
warning in the CSS validator, so it is just a question of choosing the
right colors or shades that assure necessary contrast both with and
without background-images.

If accessibility really matters (which it should), you should also make
sure the choice of colors don't create unnecessary problems for people
with various types of color blindness.
White text on a near-black background should work fine though, although
I personally find such a combination pretty hard to read in most cases.

regards
Georg
-- 
http://www.gunlaug.no
__
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


[css-d] accessible background images

2009-04-03 Thread Brian Hazelton
I was looking at the accessibility of my site, which is not up yet so i
cannot post a link. I came across a weird find...when i disable
background images, the body text disappears because i use a white font
color because the background image is almost black...how would i keep it
white but make sure people with images disabled can see the text?


__
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/