Label element 'for' attribute question

E.J. Zufelt everett at zufelt.ca
Wed Mar 25 15:50:30 UTC 2009


Good morning,

I would recommend hiding the legend off screen so that it can be  
recognized by the greatest range of ATs.

HTH,
Everett


On 25-Mar-09, at 12:24 PM, Eli Cochran wrote:

> The default styling is easy to override with a css-reset. You could  
> even hide the legend, although I don't know what this would do for  
> the screen reader.
>
> - Eli
>
> On Mar 25, 2009, at 7:27 AM, Anastasia Cheetham wrote:
>
>>
>> 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
>>
>> _______________________________________________________
>> 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
>




More information about the fluid-work mailing list