W3C home > Mailing lists > Public > w3c-wai-ig@w3.org > April to June 2004

Re: "Blind for a Day" - visibility: hidden vs none

From: James Craig <wai-ig@cookiecrook.com>
Date: Tue, 18 May 2004 13:01:05 -0500
Message-ID: <40AA4F61.8060608@cookiecrook.com>
To: Stephani Roberts Lincoln <stephani@MIT.EDU>
Cc: w3c-wai-ig@w3.org

Stephani Roberts Lincoln wrote:

> is there a safe way to 
> hide something visually in CSS but have it visible to a screen reader? 

Position it off screen. Where id="skipLink", you can use this CSS:

#skipLink {
   position: absolute;
   left: -999px;
   top: 0;
   width: 10px;
   }

Of course, Mr. Clark would disagree with this method, saying skip links 
should be visible to sighted keyboard users, too. This will also raise 
awareness for accessibility concerns... Did I capture your intention 
correctly, Joe?

Good luck Stephani,
James

-- 
http://cookiecrook.com/
Received on Tuesday, 18 May 2004 14:01:33 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 07:13:32 UTC