Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
Message from discussion Using CSS to hide text
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Chris Hunt  
View profile  
 More options Jun 11 2007, 4:41 am
From: Chris Hunt
Date: Mon, 11 Jun 2007 01:41:36 -0700
Local: Mon, Jun 11 2007 4:41 am
Subject: Re: Using CSS to hide text
Sam,

I don't think you have anything to worry about with regard to intent,
but there are a couple of things that you might want to consider...

You might avoid a "grain of sand" if you don't give the spans in your
menu a class of "hidden", that's got to ring some alarm bells
somewhere. You don't need a class there at all, just apply your css to

#primary_navigation span, #navigation_search span { ...rules in
here... }

You should also be aware that using display:none for this text can
cause problems for screen reader users. Not only do regular browsers
not show the text (which is what you want), many screen readers don't
read it out either (which isn't). If you only want to hide text
visually, but still get it read out, use absolute positioning to
"display" the text somewhere off the screen, say at top:-9999px .
http://www.google.com/search?q=screen+reader+display+none will find
plenty of stuff on this issue.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.