/    Sign up×
Community /Pin to ProfileBookmark

Hide text From JAWS

Is there any way of hiding text [I]from [/I] a JAWS reader?

I have a page I am working on that has sentences referencing color: “Green Numbers = Number of Subordinates”, “Blue Numbers = Number of Direct Reports”….

Since colors are useless to someone using a screen reader I have inserted Comment/hidden tags in front of all the corresponding numbers describing what the following number is for (“Number of Subordinates: ” “Number of Direct Reports:”) to make sure a JAWS user knows what the numbers mean.

How do I hide text from a screen reader but keep so that a non-visually impaired user can read it.

to post a comment
CSS

3 Comments(s)

Copy linkTweet thisAlerts:
@NogDogAug 08.2005 — You could try this:
<i>
</i>@media speech {
.silent { display: hidden; }
}
@media aural {
.silent { display: hidden; }
}

Then assign the class "silent" to a <span> around the text you don't want to be heard. (This is all just a guess from http://www.w3.org/TR/CSS21/aural.html as I have no way to test it.)
Copy linkTweet thisAlerts:
@KravvitzAug 08.2005 — NodDog, you mean display:none, don't you?
Copy linkTweet thisAlerts:
@NogDogAug 08.2005 — NodDog, you mean display:none, don't you?[/QUOTE]
Yeah. Thanks. ?
×

Success!

Help @spthomas1 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.20,
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,
)...