WebAIM - Web Accessibility In Mind

E-mail List Archives

RE: Skip Nav and the <link> tag

for

From: Mike Stenhouse
Date: May 11, 2004 7:26AM


Hi Sandy


<snip>
I recently got a question from someone who is trying to figure out
whether their parent site is using something correctly.


<link rel="skip to content" href="#page-content" title="Jump to this
page's content" /> <link rel="skip to navigation"
href="#page-navigation" title="Jump to this page's navigation links" />


And respectively in the body:


<td valign="top" rowspan="2" id="page-content"></td>
<td valign="top" id="page-navigation"></td>
</snip>


That use for the <link> element is intended as a logical link between
documents, not a hyperlink within a doc. As far as I know, none of the
browsers currently do anything particularly useful with <link rel="home"
href="/home.html" />... It's a suggestion for future-proofing that will,
at some point, be used to give the user some idea of the page's position
within a set of pages and perhaps be used to generate some alternate
navigation. I could be wrong about that...


For skip links you'd be better off using <a href="#page-content"
title="jump to the page's content">skip to content</a>.


Cheers


Mike
web developer | designer
www.donotremove.co.uk