The first thing to do is build a navbar list, like this:
<ul id="udm" class="udm">
<li><a href="/">Home</a>
</li>
<li><a href="/menu/">About</a>
</li>
<li><a href="/contact/">Contact</a>
</li>
</ul>
There are very few restrictions on the list HTML, but there are some:
<ul>
must have
both the id and class name of "udm"
;
they must be exactly that - class="udm foo bar"
is not allowed.
Otherwise, no restrictions.
id
might be needed later on - if
you have
dynamically created menus, or you use
popup menus; the actual id
value
will be your choice. Otherwise, no restrictions.
<a>
or betwen
<li>
and <a>
;
but you cannot wrap other elements around a
menu <ul>
, nor put anything between
<ul>
and <li>
(which wouldn't be valid anyway).
</li>
and </ul>
.
</li>
and </a>
of each horizontal navbar item - this is
purely for the benefit of
Mac/IE5.0
on OS9
or earlier, and only necessary
if you're using a
horizontal navbar;
if you have a vertical nav, or you're
working for a predictable user base that doesn't
include Mac/IE5, then it doesn't matter.
UDM 4 is valid XHTML, and in our judgement, meets the criteria for WAI Triple-A conformance.