![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
#3
| |||
| |||
|
|
How can I hide my skip nav link from users of internet explorer, mozilla etc., and from google, but display it to screen readers? |
#4
| |||
| |||
|
|
My skip navigation link, which should be hidden from normal browsers, but displayed by screen readers, are being indexed by google. The skip nav link is designed to improve the accessibility of my site, but to my customer google listings are more important. The following is the description for my site that turns up on google: Rayman: DS. ... Skip to content..... Here is the html for the skip navigation link: body a href="#content" class="hide" accesskey="2">Skip to content</a As you can see it's at the top of the page body, so google thinks it's important. It's hidden using display:none and I'm aware that this isn't the best way to do that as screen readers also ignore it, but the alternatives don't get around the problem with google. How can I hide my skip nav link from users of internet explorer, mozilla etc., and from google, but display it to screen readers? |
#5
| |||
| |||
|
|
a href="#content" class="hide" accesskey="2">Skip to content</a As you can see it's at the top of the page body, so google thinks it's important. |
![]() |
| Thread Tools | |
| Display Modes | |
| |