E-mail List Archives
Re: A List of Form Elements?
From: Jared Smith
Date: Mar 12, 2012 5:18PM
- Next message: Ryan E. Benson: "Re: A List of Form Elements?"
- Previous message: Jesse Hausler: "A List of Form Elements?"
- Next message in Thread: Ryan E. Benson: "Re: A List of Form Elements?"
- Previous message in Thread: Jesse Hausler: "A List of Form Elements?"
- View all messages in this Thread
I'm not a fan of lists to differentiate form items. You adequately
note the disadvantages, which I think outweigh any perceived benefits.
In most cases, the form is navigated from form control to form control
anyway (i.e., hitting the Tab key), so the only real advantage (that
the number of items is identified) often doesn't occur anyway.
The <div> markup could probably be simplified even more with
<form class="aform">
<div>...<label>...<input>...</div>
</form>
and
.aform div { }
to define the necessary styling.
Jared Smith
WebAIM.org
- Next message: Ryan E. Benson: "Re: A List of Form Elements?"
- Previous message: Jesse Hausler: "A List of Form Elements?"
- Next message in Thread: Ryan E. Benson: "Re: A List of Form Elements?"
- Previous message in Thread: Jesse Hausler: "A List of Form Elements?"
- View all messages in this Thread