WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: A List of Form Elements?

for

From: Jared Smith
Date: Mar 12, 2012 5:18PM


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