Label element 'for' attribute question

Anastasia Cheetham a.cheetham at utoronto.ca
Tue Mar 24 17:37:15 UTC 2009


I have a question about best practices around the 'for' attribute on a  
<label> element.

UI Options has a group of checkboxes for how to highlight links. Each  
of the checkboxes has its own label, and the 'for' attributes  
reference the relevant input fields. However, the collection of  
checkboxes also has a label.

Does anyone know how to associate the 'group' <label> with the  
collection of checkboxes? I've checked the WCAG guidelines, but  
they've not been helpful.

-- 
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