Click to See Complete Forum and Search --> : Can screen readers be told to ignore certain text?


NogDog
09-24-2004, 03:59 PM
I was thinking of using a CSS technique to create a drop shadow effect on some titles. This would result in the html having what amounts to duplicate text:

<h1 class=shadow>Some Title</h1>
<h1 class=top>Some Title</1>

So what I'm wondering is, is there some technique via CSS or HTML to tell accessibilty tools like text-to-speach readers or such to ignore certain text (in this case, ignore the <h1 class=shadow>Some Title</h1> line)?

Charles
09-24-2004, 04:29 PM
It's not 100%, but for CSS2 browsers you can specify medium specific styles. Set that element's "display" to "none" but not for the screen.

Stephen Philbin
09-24-2004, 04:53 PM
There's a drop shadow style definition for text isn't there? It just isn't supported by browsers yet. I'm sure there is.

Paul Jr
09-24-2004, 06:26 PM
Originally posted by Mr Herer
There's a drop shadow style definition for text isn't there? It just isn't supported by browsers yet. I'm sure there is.
There sure is (http://msdn.microsoft.com/workshop/author/filter/reference/filters/dropshadow.asp), and the only browser that supports it is, of course, IE.