Label element 'for' attribute question
Michael S Elledge
elledge at msu.edu
Wed Mar 25 13:52:40 UTC 2009
That's an interesting idea, Eli! I've only seen fieldset and legend used
for grouping similar questions within a form, not for elements within a
question. How does it sound with a screen reader?
Mike
Eli Cochran wrote:
> 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 a.cheetham at utoronto.ca
>> Software Designer, Fluid Project http://fluidproject.org
>> Adaptive Technology Resource Centre / University of Toronto
>>
>> _______________________________________________________
>> fluid-work mailing list - fluid-work at fluidproject.org
>> 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 - fluid-work at fluidproject.org
> To unsubscribe, change settings or access archives,
> see http://fluidproject.org/mailman/listinfo/fluid-work
>
>
More information about the fluid-work
mailing list