DotDragnet
May 23, 2012, 04:58:37 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: follow us on twitter @dotdragnet
 
   Home   Help Search Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: skip links  (Read 345 times)
SLEE
Hero Member
*****
Posts: 824



View Profile WWW Awards
« on: May 21, 2010, 03:36:07 PM »

OK so skip links for accessibility cannot be done using display: none any more, so what is the best way to implement them if they need to be hidden for design purposes?

I came across one technique that supposedly moved them off the screen and then on focus brought them into view so that every can use them (http://www.projectseven.com/tutorials/accessibility/hideskip/index.htm), however I could not get this to work.

Interestingly I had a sneeky peek at the choices NHS website and they use this:
Code:
.hidden{
font-size:0 !important;
height:0 !important;
left:-999% !important;
line-height:0 !important;
overflow:hidden !important;
position:absolute !important;
width:0 !important;
}


What method do you use can you give me an example?
« Last Edit: May 21, 2010, 05:17:03 PM by SLEE » Logged

SLEE - still the most confusing ddner...

Follow me on Twitter
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2006-2008, Simple Machines Valid XHTML 1.0! Valid CSS!