WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Making HTML text invisible to screen readers.


From: Michael Stenitzer
Date: Nov 21, 2007 9:30AM

sorry for the late reply...

On Nov 15, 2007 10:06 PM, Austin, Darrel
< <EMAIL REMOVED> > wrote:

> I have a situation where we're placing a random, decorative image on our
> site's banner, along with a caption.
> This is purely decorative (it randomly shows a picture of one of our
> buildings with the name of the building). Because it's decorative, I'm
> just putting it as a background image in an empty DIV. However, the
> caption is text based, so has to be part of the HTML markup. Short of
> having someone render all the captions as text, is there any method to
> mark this as 'not important' for a screen reader?

well, if it has an caption than i would classify it as more than just
decoration (like a rounded corner would be). so why don't you give
your blind visitors also an idea of what is shown here. blind people
also might want to get an "emotional impression" of your site, of what
you have to say and to show.

on the other hand, if it is just a photo credit, then you might render
it into the image (that's what i'm sometimes doing with important
background images). but i know, this is far from optimal.

what do others think about this?
regards, michael

Michael Stenitzer | WIENFLUSS information.design.solutions