View Single Post
  #6 (permalink)  
Old 11-04-2003, 04:06 PM
Webnauts's Avatar
Webnauts Webnauts is offline
WebProWorld 1,000+ Club
 

Join Date: Aug 2003
Location: Worldwide
Posts: 7,399
Webnauts RepRank 3Webnauts RepRank 3
Default Skip Navigation...

Providing links that allow the user to skip to content or navigation will enhance your web site accessibility. This is recommended for blind or visually impaired users, people who use screen readers, and also for text-browsers, mobile phones and PDAs (Personal Digital Assistants). These links are common on most US, UK, Irish, and other government websites, as well as many universities and private organizations.

From the accessibility and usability point of view, it is recommended that you make such links visible.

Why?

In his article titled “Providing Skip Links,” Frank Gayne of infocentre.frontend.com explains: "Skip links would be useful for people who cannot easily use a mouse. Many of these people depend on tabbing in order to make progress through an interface and might appreciate a skip links feature to lighten the amount of work they have to do. If there is no visible focus to let these people know they have hit a link, then this useful feature is lost to them." (Read whole article here: http://infocentre.frontend.com/servl...article&id=150)

How can you build such links?

Immediately after the logo of your web site, insert the skip link:

Skip over navigation

After this is done, do one of the following, depending on the MarkUp Language you are using:

1. If you're using any variant of HTML 4, add this just before your main content:

<a name="content"></a>


2. If you are using any variant of XHTML 1.0, add this just before your main content:

<a name="content" id="content"></a>


3. If you are using XHTML 1.1, add this just before your main content:

<a id="startcontent"></a>


Does the link have to go after the logo? Many web sites have the "Skip Navigation" or "Skip to content" links before the logo of the page, but a logo is a precursor of a web page. It lets the user know what website he/she is on. For example, if a "Screen Reader" user clicks an internal link on your page, your logo's "alt tag" tells the user that he/she has not yet left your website. If the Skip Navigation link is before this logo, then the user does not know immediately which website he/she is on.

In many occasions, web site developers or their clients do not wish to have the “Skip navigation” or “Skip to content” link visible, with the excuse that it does not fit in their design. In this case they might use a technique wrapping the accessibility text or links in an HTML div setting it to display: none.

The problem with this technique is that it does not always work as expected. Some screen readers do not speak material that is marked display: none, and others depend on how the style is specified.


To solve this problem, you could make them invisible with the technique described below.
Reply With Quote