Hi,

I am working on some redesign stuff at work and one of the things is that we
are putting decorative icons next to link text. My question is would it be
better to put an empty <span> tag in my code and use it with css backgrounds
or just put the images in the code using the <img> element. They're just for
decoration so they wouldn't benefit from an alt attribute and I could save
some http requests by loading just the one sprite as opposed to x amount of
different icons.

But, I also am not sure how correct it is to have an empty html element just
sitting in the code like that. I know with image replacement you usually put
text in to describe the image that replaces the text but for just an icon I
wouldn't want a screen reader to basically read the description of just a
decorative thing when it really doesn't add any significance to the page.

Any opinions on this? If this is an old subject could someone please point
me to where it's been discussed?

Thanks,
Jeff
______________________________________________________________________
css-discuss [[email protected]]
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/

Reply via email to