Posted By

LeeRJohnson on 10/01/07


navigation accessability accesskey

Versions (?)

Who likes this?

1 person have marked this snippet as a favorite


Ordered Accesskey Navigation List

 / Published in: HTML

A titled navigation block with a ordered list indicating the accesskey number. Note: When using the accesskey model nine list items is the maximum. I keep the homepage as #1 and the contact page as the last list item.

  1. <div id="NavigationID" class="navigation" title="Ordered Navigation">
  2. <h2 class="header">Ordered Navigation</h2>
  3. <ol class="list">
  4. <li><a id="a1" class="url" accesskey="1" href="/">Home</a></li>
  5. <li><a id="a2" class="url" accesskey="2" href="page2/">Page2</a></li>
  6. <li><a id="a3" class="url" accesskey="3" href="page3/">Page3</a></li>
  7. <li><a id="a4" class="url" accesskey="4" href="contact/">Contact</a></li>
  8. </ol>
  9. </div>

Report this snippet  

You need to login to post a comment.