HighDots Forums  

Ordering navigation code and content code

Website Design comp.infosystems.www.authoring.site-design


Discuss Ordering navigation code and content code in the Website Design forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Wolfgang Meier
 
Posts: n/a

Default Ordering navigation code and content code - 06-28-2005 , 09:17 AM






fup2 c.i.w.a.site-design

Hi,

What do you think: Is it better to put code describing navigational
elements to the top or to the bottom of content?

Don't get me wrong - I'm not talking about whether to render
navigational elements near the top of the page but merely where to
place the code in the .html file.

One problem with placing navigation at the start of HTML code arises
with machine-generated excerpts, as found in Web Directories and Search
Engine results: Content is often extracted from the top of the page
which would be navigational elements.

When placing navigation at the end of HTML code, however, users
perceiving a "accessible", i.e. as coded, layout of the page would have
to repeatedly skip to the end of intermediate pages to navigate to the
page they want to retrieve.


What do you think?

Regards,

Wolf


Reply With Quote
  #2  
Old   
Benjamin Niemann
 
Posts: n/a

Default Re: Ordering navigation code and content code - 06-28-2005 , 09:32 AM






Wolfgang Meier wrote:

Quote:
fup2 c.i.w.a.site-design

Hi,

What do you think: Is it better to put code describing navigational
elements to the top or to the bottom of content?

Don't get me wrong - I'm not talking about whether to render
navigational elements near the top of the page but merely where to
place the code in the .html file.

One problem with placing navigation at the start of HTML code arises
with machine-generated excerpts, as found in Web Directories and Search
Engine results: Content is often extracted from the top of the page
which would be navigational elements.

When placing navigation at the end of HTML code, however, users
perceiving a "accessible", i.e. as coded, layout of the page would have
to repeatedly skip to the end of intermediate pages to navigate to the
page they want to retrieve.


What do you think?
I would think that someone who is reading the page usually wants to look at
the content before deciding to jump to another page - unless it's a known
index page and the user knows in advance that she/he will to jump to
another page. Don't know which once is the more common case, I'd guess the
former one.
In any case - just like a 'Jump to content' link at the top, if the
navigation is at the top, you should add a 'Jump to navigation' link.

--
Benjamin Niemann
Email: pink at odahoda dot de
WWW: http://www.odahoda.de/


Reply With Quote
  #3  
Old   
Spartanicus
 
Posts: n/a

Default Re: Ordering navigation code and content code - 06-28-2005 , 10:26 AM



"Wolfgang Meier" <womei (AT) sofort-mail (DOT) de> wrote:

Quote:
What do you think: Is it better to put code describing navigational
elements to the top or to the bottom of content?
Bottom has a slight edge in theory, but if you then want to place it on
top of the page you'd need CSS absolute positioning which brings with it
a lot of caveats and inherent drawbacks. In practice best keep it on
top.

Quote:
When placing navigation at the end of HTML code, however, users
perceiving a "accessible", i.e. as coded, layout of the page would have
to repeatedly skip to the end of intermediate pages to navigate to the
page they want to retrieve.
Depending on where the client has positioned the page, the same applies
if you position it first in the code. Users can use the top and bottom
navigational elements provided by most UAs (Home and End keys for most
Windows desktop agents).

--
Spartanicus


Reply With Quote
  #4  
Old   
Beauregard T. Shagnasty
 
Posts: n/a

Default Re: Ordering navigation code and content code - 06-28-2005 , 05:01 PM



Wolfgang Meier wrote:
Quote:
When placing navigation at the end of HTML code, however, users
perceiving a "accessible", i.e. as coded, layout of the page would
have to repeatedly skip to the end of intermediate pages to
navigate to the page they want to retrieve.
I use a "skip to navigation" link above the content, hidden by CSS,
and with the corresponding name element at the beginning of the ul/li
for the menu.

<div class="ahem">
<p>You may go directly to <a title="Navigate" href="#themenu">the
navigation menu</a> after the content.
</p>
</div>

..ahem { display: none; }

Quote:
What do you think?
Makes sense to me...

--
-bts
-This space intentionally left blank.


Reply With Quote
  #5  
Old   
David Dorward
 
Posts: n/a

Default Re: Ordering navigation code and content code - 06-28-2005 , 05:23 PM



Beauregard T. Shagnasty wrote:

Quote:
I use a "skip to navigation" link above the content, hidden by CSS,
and with the corresponding name element at the beginning of the ul/li
for the menu.

.ahem { display: none; }
Two points:

1. Most screen readers are screen readers and not aural browsers. If it
isn't displayed, they won't read it.

2. Skip links are useful for perfectly sighted users who happen to use the
keyboard (or other non-pointing device) to navigate instead of the mouse[1]
(and thus tab through links one at a time).

[1] Possibly because they can't use the mouse

--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is


Reply With Quote
  #6  
Old   
Adrienne
 
Posts: n/a

Default Re: Ordering navigation code and content code - 06-28-2005 , 06:00 PM



Gazing into my crystal ball I observed David Dorward <dorward (AT) yahoo (DOT) com>
writing in news:d9sf8q$1us$1$8302bc10 (AT) news (DOT) demon.co.uk:

Quote:
Beauregard T. Shagnasty wrote:

I use a "skip to navigation" link above the content, hidden by CSS,
and with the corresponding name element at the beginning of the ul/li
for the menu.

.ahem { display: none; }

Two points:

1. Most screen readers are screen readers and not aural browsers. If it
isn't displayed, they won't read it.

2. Skip links are useful for perfectly sighted users who happen to use
the keyboard (or other non-pointing device) to navigate instead of the
mouse[1] (and thus tab through links one at a time).

3. Good for small screen devices, too, like phones, where the user can skip
to the main content without having to scroll.

--
Adrienne Boswell
http://www.cavalcade-of-coding.info
Please respond to the group so others can share


Reply With Quote
  #7  
Old   
Beauregard T. Shagnasty
 
Posts: n/a

Default Re: Ordering navigation code and content code - 06-28-2005 , 06:29 PM



David Dorward wrote:
Quote:
Beauregard T. Shagnasty wrote:

I use a "skip to navigation" link above the content, hidden by
CSS, and with the corresponding name element at the beginning of
the ul/li for the menu.

.ahem { display: none; }

Two points:
Points taken.

Quote:
1. Most screen readers are screen readers and not aural browsers.
If it isn't displayed, they won't read it.
Do you know if these screen readers observe CSS? I haven't used one
for a couple of years, and the last one (couldn't name it now) did not
recognize CSS - in which case they would present the link.

Quote:
2. Skip links are useful for perfectly sighted users who happen to
use the keyboard (or other non-pointing device) to navigate instead
of the mouse[1] (and thus tab through links one at a time).
True, they would have to tab through any links in the content, but on
my pages, there aren't many. <g>

Quote:
[1] Possibly because they can't use the mouse
--
-bts
-This space intentionally left blank.


Reply With Quote
  #8  
Old   
David Dorward
 
Posts: n/a

Default Re: Ordering navigation code and content code - 06-28-2005 , 06:39 PM



Beauregard T. Shagnasty wrote:

Quote:
1. Most screen readers are screen readers and not aural browsers.
If it isn't displayed, they won't read it.

Do you know if these screen readers observe CSS? I haven't used one
for a couple of years, and the last one (couldn't name it now) did not
recognize CSS - in which case they would present the link.
They generally just tie in to IE and use whatever its rendering engine spits
out.


--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is


Reply With Quote
  #9  
Old   
Beauregard T. Shagnasty
 
Posts: n/a

Default Re: Ordering navigation code and content code - 06-28-2005 , 09:21 PM



kchayka wrote:
Quote:
Beauregard T. Shagnasty wrote:

David Dorward wrote:

1. Most screen readers are screen readers and not aural
browsers. If it isn't displayed, they won't read it.

Do you know if these screen readers observe CSS?

The short answer: What David said.

The long answer (see table about halfway down the page):
URL:http://css-discuss.incutio.com/?page=ScreenreaderVisibility

Both visibility:hidden and display:none will be invisible to the
most-used screen readers.
Nice link. Thanks.

--
-bts
-This space intentionally left blank.


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.