WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Ordered Lists and Forms

for

From: Steve Green
Date: Jun 29, 2009 9:20AM


I have seen this many times including a site we tested this weekend. In my
opinion it is totally unnecessary and just adds visual and audio clutter.
There may occasionally be an appropriate use for this markup but 99% of the
time it's wrong.

Steve




-----Original Message-----
From: <EMAIL REMOVED>
[mailto: <EMAIL REMOVED> ] On Behalf Of Seth Kane
Sent: 29 June 2009 16:03
To: <EMAIL REMOVED>
Subject: [WebAIM] Ordered Lists and Forms

I just came across some HTML this morning that had FORM FIELDS inside of an
Ordered List.

i.e.
<form action="" method="post">
<ol>
<li class="first">
<label for="firstName">First Name</label> <input id="firstName" type="text"
class="text first required" />
</li>

I have never seen this done and I wanted to see if anyone understood the
methodology or if it served a true purpose towards Accessibility?