[thelist] Is this a list?

aardvark evolt at roselli.org
Mon Sep 26 18:26:37 CDT 2005


On 26 Sep 2005 at 12:42, Matt Warden wrote:
[...]
> Actually, accessibility guidelines suggest that the form element
> should be within the label element. i.e..:
> 
> <fieldset>
> <legend>Choose gift:</legend>
> <label for="c1"><checkbox 1 id="cb1">Cheese sandwich...</label>
> <label for="c2"><checkbox 2 id="cb2">Privacy...</label>
> ...
> </fieldset>
> 
> see e.g. http://www.w3.org/TR/WCAG10-HTML-TECHS/#forms-labels
[...]

except IE blows that away by not properly supporting it...

also, if you do wrap the form element and its label text within the 
<label>, the id is no longer necessary -- it's implied...

i can't tell you how often i wished it would work either way... then 
i could pick and choose the most appropriate...



More information about the thelist mailing list