Just to be sure, there are caveats to styling the legend element, esp. in FF. http://papayapariah.com/2008/11/13/css-positioning-the-legend-tag/
Hiding and showing doesn't sound difficult though, if that's all your after. Jacob -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Eli Cochran Sent: Wednesday, March 25, 2009 11:25 AM To: Anastasia Cheetham Cc: Fluid Work Subject: Re: Label element 'for' attribute question 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 [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 _______________________________________________________ fluid-work mailing list - [email protected] To unsubscribe, change settings or access archives, see http://fluidproject.org/mailman/listinfo/fluid-work
