Label element 'for' attribute question

Anastasia Cheetham a.cheetham at utoronto.ca
Wed Mar 25 14:27:21 UTC 2009


On 24-Mar-09, at 2:01 PM, E.J. Zufelt wrote:

> I would recommend using the fieldset element to group the checkboxes  
> and the legend element to provide a label for the group.  An  
> example / tutorial can be seen at: http://www.webstandards.org/learn/tutorials/accessible-forms/intermediate/

Everett thanks for the suggestion.

> Sadly, most browsers, from what I remember, like to add stupid  
> styling to the frameset / legend so it will take some CSS work to  
> make this look the way you want it to.

That's a good point. Maybe Jacob knows how easy it is to change the  
styling of the fieldset/legend combination.

-- 
Anastasia Cheetham                   a.cheetham at utoronto.ca
Software Designer, Fluid Project    http://fluidproject.org
Adaptive Technology Resource Centre / University of Toronto




More information about the fluid-work mailing list