WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: A larger discussion (was RE: Inline Images and ALTtext)

for

From: S.R. Emerson, Accrete Web Solutions
Date: Jan 16, 2009 2:30PM


>> Hear hear! I seconded this approach. To be honest, I'm at lost why many
>> webmasters do not place the images, that don't required alt text, in
>> the
>> CSS. Could someone explain why this approach is not being use often?

Maybe because the images will not be printed if the page is printed? By
default, the browser does not print backgrounds.

e.g. If you insert the logo via CSS, it won't be printed when the user
prints the page
A logo would be a important image to have on the printed version of the page
but, if the header is coded first in the background coding c/w the alt
attribute filled in, that's not good for SEO.

If you know how to code the page with the content first and manipulate the
header via CSS to visually appear at the top of the page, then you satisfy
solving a SEO problem and the image can then have an alt attribute that is
not empty.

S. Emerson
Accrete Web Solutions
http://www.accretewebsolutions.ca