/    Sign up×
Community /Pin to ProfileBookmark

Can screen readers be told to ignore certain text?

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:

[code]
<h1 class=shadow>Some Title</h1>
<h1 class=top>Some Title</1>
[/code]

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 [font=courier][color=green]<h1 class=shadow>Some Title</h1>[/color][/font] line)?

to post a comment

3 Comments(s)

Copy linkTweet thisAlerts:
@CharlesSep 24.2004 — 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.
Copy linkTweet thisAlerts:
@Stephen_PhilbinSep 24.2004 — 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.
Copy linkTweet thisAlerts:
@Paul_JrSep 24.2004 — [i]Originally posted by Mr Herer [/i]

[B]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. [/B][/QUOTE]

[font=palatino linotype][url=http://msdn.microsoft.com/workshop/author/filter/reference/filters/dropshadow.asp]There sure is[/url], and the only browser that supports it is, of course, IE.[/font]
×

Success!

Help @NogDog spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.8,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...