Results 1 to 4 of 4
Sep 23, 2005, 16:04 #1
What does this do?: <a href="#skipnav">
I was looking at the source code to a site just now, and saw this... What is it? First time I've ever seen it... Is it importing some sort of thing as some sort of formatting or something???
Sep 23, 2005, 16:20 #2
Well for accessibility it is good to offer the option to skip past the menu to the main content.
here is more... http://diveintoaccessibility.org/day...ion_links.html
Sep 25, 2005, 02:29 #3
- Join Date
- Nov 2004
- 0 Post(s)
- 0 Thread(s)
It's a link to a specific position within the same page. That position is marked up either like this:
<h2 id="skipnav">Main Content</h2>
From the looks of it, this is on a page where the navigation menu precedes the main content. To help people with screen readers, or people who prefer to navigate by keyboard, the author provides a 'skip' link to jump past the menu and get straight to the content.Birnam wood is come to Dunsinane
Sep 25, 2005, 06:34 #4
Okay. Thanks guys.