WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: RE: Long form legends

for

From: ben morrison
Date: Jun 6, 2005 8:03AM


> But I do have many cases where I have things like:
> List 5 people that can help you with this:
> 1. <input type="text">
> 2. <input type="text">
> 3. <input type="text">
> 4. <input type="text">
> 5. <input type="text">
>
> And these clearly qualify for a fieldset/legend.

Why don't you stick with the fieldset/legend route, use a br tag to
make the legend break, send the mac browser css to override the break.

/* IE5/Mac Only Styles
Uses the IE5/Mac Band Pass Filter:
http://stopdesign.com/examples/ie5mac-bpf/
----------------------------------------------- */
/**//*/
br {
display:none;
}
/**/

<legend>List 5 people that can:&nbsp;<br> help you with this:</legend>

Does the legend work/wrap correctly in safari/firefox on a mac?

ben