WebAIM - Web Accessibility In Mind

E-mail List Archives

Form element inside a UL

for

From: ben morrison
Date: Jun 13, 2005 5:51AM


Ive just started a new project and have a <ul> list as my first group
of navigational elements.

This also includes a search:

<ul id="header">
<li class="logoLink"><a href="#"><img src="logo-sm.gif" alt="logo
text here"></a></li>
<li class="viewOptions"><a href="#">Viewing options</a></li>
<li><a href="#">Help</a></li>
<li><form action="" class="searchBox">
<label for="search">Search</label>
<input type="text" name="search" id="search">
<input type"submit" class="submit" value="Go">
</form></li>
<li><a href="#">Sitemap</a></li>
<li class="contactUs"><a href="#">Contact us</a></li>
</ul>

This appears as a top panel, it made sense to group them together but
would this be difficult to use having a form (albeit a simple search)
inside of an unordered list?

ben morrison