I think that the way to handle this is not with a label tag at all but the <fieldset> and <legend> tags which are a standard way to group form elements together.

There are some standard styles applied to these elements which should be overridden by our css-reset.

- Eli

On Mar 24, 2009, at 10:37 AM, Anastasia Cheetham wrote:


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                   [email protected]
Software Designer, Fluid Project    http://fluidproject.org
Adaptive Technology Resource Centre / University of Toronto

_______________________________________________________
fluid-work mailing list - [email protected]
To unsubscribe, change settings or access archives,
see http://fluidproject.org/mailman/listinfo/fluid-work

. . . . . . . . . . .  .  .   .    .      .         .              .            
         .

Eli Cochran
user interaction developer
ETS, UC Berkeley


_______________________________________________________
fluid-work mailing list - [email protected]
To unsubscribe, change settings or access archives,
see http://fluidproject.org/mailman/listinfo/fluid-work

Reply via email to