473,671 Members | 2,252 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Skip Navigation Best Practice

I've been searching for guidance on which of the approaches used for
skipping repetive links (e.g., link as normal text, link as alt text
on invisible image, link with same forground and background colors
that becomes visible when in hover or active state using css) is the
best approach.

Is there any place on the net where this is addressed?

Thanks in advance.
Jul 20 '05 #1
13 2617
Monty wrote:
I've been searching for guidance on which of the approaches used for
skipping repetive links
Best to avoid it all together by putting content before the
navigation, so that there's nothing to skip over.
(e.g., link as normal text,
I'd avoid that if there's an elegant way to avoid it.
link as alt text on invisible image,
That seems like a somewhat reasonable solution. But note that keyboard
users will still hit the image when tabbing, because it is a link. Is
the skip link for blind users? or for keyboard users as well?
link with same forground and background colors
that becomes visible when in hover or active state using css)


That doesn't make any sense. How will a user know it's there? At lease
change the color on focus, so a sighted keyboard user will know what
it does before selecting it. If this is for e.g. blind users, I'd use
display: none in a css file linked using an appropriate media
attribute. Even the 1px image seems better than the color idea.

--
Brian
follow the directions in my address to email me

Jul 20 '05 #2

"Monty" <lm*****@my-deja.com> wrote in message
news:64******** *************** ***@posting.goo gle.com...
I've been searching for guidance on which of the approaches used for
skipping repetive links (e.g., link as normal text, link as alt text
on invisible image, link with same forground and background colors
that becomes visible when in hover or active state using css) is the
best approach.

Is there any place on the net where this is addressed?


I precede all visible content with an absolutely position DIV to hold a
linked pixel:

<div style="position : absolute; margin-left: 0px; margin-top: 0px;
z-index: -2">
<a href="#skip_nav igation"><img src="/inc/images/spacer.gif" border="0"
width="1" height="1" alt="Skip navigation"></a>
</div>

and put

<a name="skip_navi gation"></a>

at the top of the main content. If the page is divided into multiple
sections which might be of independent person to the user, I put multiple
linked pixels into the DIV with a meaningful ALT (like "Skip to feature
story", "Skip to headlines"), and an anchor at the beginning of each
section.

I've ascertained that the DIV is properly invisible in Netscape 4.7,
Netscape 7, Mozilla Firebird 0.5, IE6, and Opera 7.21. In the first three of
these, however, the links are still included in the page's tab sequence. In
IE6, they are not. In Opera I can't tell, because in the page I'm looking at
for purposes of summing all this up for you, there are two forms, and the
tab movement seems to be confined to those forms. Must be an Opera bug.
There are other links on the page, but the Tab key is ignoring them. I
haven't tried it on a page that doesn't have a form.

As for non-graphical browsers, the links are properly presented and work
correctly in Lynx for Windows, JAWS, and Home Page Reader.

Jul 20 '05 #3
Brian wrote:
Best to avoid it all together by putting content before the navigation,
so that there's nothing to skip over.


Skip over content?
--
Anne van Kesteren
<http://www.annevankest eren.nl/>
Jul 20 '05 #4
Anne van Kesteren wrote:
Brian wrote:
Best to avoid it all together by putting content before the
navigation, so that there's nothing to skip over.


Skip over content?


I do not add such a link. I could, I suppose, put
<a href="#navigati on">navigatio n</a>
on the top of each page, but that would likely only confuse readers,
especially if they are using a browser that supports positioning.

--
Brian
follow the directions in my address to email me

Jul 20 '05 #5

"Monty" <lm*****@my-deja.com> wrote in message
news:64******** *************** ***@posting.goo gle.com...
I've been searching for guidance on which of the approaches used for skipping repetive links (e.g., link as normal text, link as alt text on invisible image, link with same forground and background colors that becomes visible when in hover or active state using css) is the best approach.

Is there any place on the net where this is addressed?

Thanks in advance.


I tend to put navigation at the bottom of the page, and a link
very close to the top (so it appears in the viewport) which says
"Skip To Navigation" and style it thusly:

width: 0;
height: 0;
overflow: hidden;
position: absolute;

I also add a hidden link near the bottom returning the user to
the content.
Jul 20 '05 #6
It seems "Brian" wrote in comp.infosystem s.www.authoring.html in
article <hAzLb.5854$Rc4 .24973@attbi_s5 4>:
Monty wrote:
I've been searching for guidance on which of the approaches used for
skipping repetive links


Best to avoid it all together by putting content before the
navigation, so that there's nothing to skip over.


Yes, but unfortunately no general solution for doing that exists.

By "general solution" I mean one that puts navigation visually above
content and doesn't break if the user resizes the browser window or
increases text size substantially. I don't remember the thread title
off hand, but quite recently in ciwas we established this.

--
Stan Brown, Oak Road Systems, Cortland County, New York, USA
http://OakRoadSystems.com/
HTML 4.01 spec: http://www.w3.org/TR/html401/
validator: http://validator.w3.org/
CSS 2 spec: http://www.w3.org/TR/REC-CSS2/
2.1 changes: http://www.w3.org/TR/CSS21/changes.html
validator: http://jigsaw.w3.org/css-validator/
Jul 20 '05 #7
On Fri, 9 Jan 2004 10:38:51 -0500, "Harlan Messinger"
<h.*********@co mcast.net> wrote:
In Opera I can't tell, because in the page I'm looking at for
purposes of summing all this up for you, there are two forms, and
the tab movement seems to be confined to those forms. Must be an
Opera bug.
No, this is by design.
There are other links on the page, but the Tab key is ignoring them.
I haven't tried it on a page that doesn't have a form.


Tab and Shift-Tab move between elements in a form; "a" and "q" move
between links in a page.

And I find it very handy that they're separate; since I generally use
the mouse for navigation, but the keyboard for entering text in input
boxes. So it's handy to be able to Tab quickly to the text input field I
want and put some text in without having to skip over a bunch of links
first.

Cheers,
Philip
--
Philip Newton <no***********@ gmx.li>
That really is my address; no need to remove anything to reply.
If you're not part of the solution, you're part of the precipitate.
Jul 20 '05 #8
Stan Brown:
Best to avoid it all together by putting content before the
navigation, so that there's nothing to skip over.
Yes, but unfortunately no general solution for doing that exists. By "general solution" I mean one that puts navigation visually above
content and doesn't break if the user resizes the browser window or
increases text size substantially.


That is indeed a risk that you have to watch out for. I felt courageous,
and tried to do this in the latest redesign of my site. At least in
modern browsers the navigation on my pages shows up at the top of,
although it's really at the end of the (X)HTML code. It seems to work
in most reasonable situations:

<URL:http://www.bertilow.co m>

--
Bertilo Wennergren <be******@gmx.n et> <http://www.bertilow.co m>
Jul 20 '05 #9
It seems "Bertilo Wennergren" wrote in
comp.infosystem s.www.authoring.html in article
<bt************ *@news.t-online.com>:
Best to avoid it all together by putting content before the
navigation , so that there's nothing to skip over.
Stan Brown:
Yes, but unfortunately no general solution for doing that exists.

By "general solution" I mean one that puts navigation visually above
content and doesn't break if the user resizes the browser window or
increases text size substantially.


That is indeed a risk that you have to watch out for. I felt courageous,
and tried to do this in the latest redesign of my site. At least in
modern browsers the navigation on my pages shows up at the top of,
although it's really at the end of the (X)HTML code. It seems to work
in most reasonable situations:

<URL:http://www.bertilow.co m>


Your solution looks similar to what I tried, at
http://www.acad.sunytccc.edu/instruc...e/probform.htm
When text gets up to 300% or so, as someone visually impaired might
do, the links at the top start to overlap the actual content.

--
Stan Brown, Oak Road Systems, Cortland County, New York, USA
http://OakRoadSystems.com/
HTML 4.01 spec: http://www.w3.org/TR/html401/
validator: http://validator.w3.org/
CSS 2 spec: http://www.w3.org/TR/REC-CSS2/
2.1 changes: http://www.w3.org/TR/CSS21/changes.html
validator: http://jigsaw.w3.org/css-validator/
Jul 20 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
3011
by: Josh Renaud | last post by:
Hey everyone. First the requisite links: site: http://www.joshrenaud.com/bodies/index.html css: http://www.joshrenaud.com/bodies/stylesheets/style.css I have a UL that I'm using for a horizontal navigation bar on a website. It looks decent in most browsers I've checked, except for IE5.
0
2123
by: Veli-Pekka Tätilä | last post by:
Hi, My first post here. I've found some serious accessibility flaws in the Python 2.4 docs and wish they could be rectified over time. I'm very new to Python and initially contacted docs at python org, However, I haven't gotten a reply for a week or so, and figured out I could post here for a larger audience, then. Original message follows: Hello,
136
9314
by: Matt Kruse | last post by:
http://www.JavascriptToolbox.com/bestpractices/ I started writing this up as a guide for some people who were looking for general tips on how to do things the 'right way' with Javascript. Their code was littered with document.all and eval, for example, and I wanted to create a practical list of best practices that they could easily put to use. The above URL is version 1.0 (draft) that resulted. IMO, it is not a replacement for the FAQ,...
59
6847
by: AK | last post by:
I tried to google "skip scan DB2" but came up with nothing. Does DB2 have the feature under a different name?
24
5760
by: Robin Cole | last post by:
I'd like a code review if anyone has the time. The code implements a basic skip list library for generic use. I use the following header for debug macros: /* public.h - Public declarations and macros */ #ifndef PUBLIC #define PUBLIC
17
8030
by: | last post by:
I have an app that retrieves data from an Access database. At the moment I have the SQL string as a Const in my app. I understand this is not best practice. I don't want the user to have access to read or modify this string so I don't want to store it in an INI / Text file or in registery. Can someone please tell me the best practice for this. Thanks Mike
4
3030
by: Sandy.Pittendrigh | last post by:
I don't want to get into a frames discussion here. We all know they have numerous drawbacks, especially with search engine visibility. (Google, ironically, uses framesets for displaying individual news group posts). Despite the trouble they cause, it is still tempting to use frames, occasionally, for instance for machine-generated pages that might have a large number of left-side navigation links. If you do use frames in that...
3
2099
by: John | last post by:
Hi there, I was reading an article (http://avenuea-razorfish.com/articles/TheAll-MenuNavigation_Turbek.pdf) on 'all-menu navigation' and I'd like to try and implement this in my site. Can anyone recommend how to get started? Is there an Ajax control available for this or would more a basic javascript work just as well. I'm assuming I just need a div element that is shown on a mouse over, but I'm not sure how to go about aligning all...
0
1908
by: tom59593 | last post by:
Hi there. I have been attempting (for a few days on end, sadly) to get a navigation section of my new site to work. Granted, this is the first time I've ever written CSS...although I had PLENTY of practice using tables...tee hee. Anyways, this should be EXTREMELY simple...as I want NO rollovers, no fancy hovers, no current-page differences...I just want the navigation bar image to be "click-able" where the words are. You can see the...
0
8476
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8393
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
8598
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8670
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7437
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6229
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5696
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
2812
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2051
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.