WebAIM - Web Accessibility In Mind

E-mail List Archives

RE: Long form legends

for

From: Joelle Tegwen
Date: Jun 10, 2005 3:26PM


Cause I never thought of that. :) (duh)

On a Mac:
Legends wrap automatically in these browsers:
Opera, Safari, Explorer

They don't in these browsers:
Netscape, Mozilla, FireFox


On a PC:
They don't in these browsers:
Netscape, Mozilla, FireFox, IE

I know that IE/PC responds to styling the width of the legend though.

Thanks!
Joelle


-----Original Message-----
From: <EMAIL REMOVED>
[mailto: <EMAIL REMOVED> ] On Behalf Of ben morrison
Sent: Monday, June 06, 2005 8:04 AM
To: WebAIM Discussion List
Subject: Re: [WebAIM] RE: Long form legends

> 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