HTML and CSS Reference
The link should go after the main page heading, but before the navigation menu. Most accessibility
experts advise leaving the skip link visible. But if this destroys your design, you can hide the link with absolute
positioning. For the benefit of anyone using the keyboard to navigate, you can display the link while it has
In left2col_skiplink.html, the link has been added at the top of the sidebar like this:
<a href="#main">Skip to main content</a>
The following styles hide the link and display it at the top of the sidebar when it has focus:
eXerCISe: teStING the SKIp LINK
This brief exercise demonstrates how the skip link works for keyboard navigation. Sadly, the only
mainstream browser that supports keyboard navigation with a skip link is Firefox.
Load left2col_skiplink.html in Firefox, and press the Tab key until the skip link
appears (see Figure 12-19 ).