WebAIM - Web Accessibility In Mind

E-mail List Archives

RE: Long form legends


From: Mike Foskett
Date: May 31, 2005 9:03AM

Hi Christian,
How about dropping legend and use a heading instead?

Mike 2k:)2

Mike Foskett
Web Standards, Accessibility & Testing Consultant
Multimedia Publishing and Production
British Educational Communications and Technology Agency (Becta)
Milburn Hill Road, Science Park, Coventry CV4 7JJ
Tel: 02476 416994 Ext 3342 [Tuesday - Thursday]
Fax: 02476 411410

-----Original Message-----
From: Christian Heilmann [mailto: <EMAIL REMOVED> ]
Sent: 31 May 2005 15:33
To: WebAIM Discussion List
Subject: Re: [WebAIM] Long form legends

> Note the <br> tags in the legends. We need these for some browsers
> because they don't wrap the legend automatically and some of those
> don't accept styling on the legend tag. (very frustrating) But on the
> Mac browsers (that do wrap automatically), if your browser width is
> too small, you get odd wrapping because you get the <br>s and the wrapping.
> We used to have the long questions inside a <p> inside the fieldset,
> but heard that was bad for people using screen readers because they
> don't read <p>s in "forms mode"
> What do we do?

What you could do is only apply the BRs via scripting for certain browsers. That is the road to destruction though.

How about rethinking and rewriting the form?

A legend with a yes / no radio button is the same as a checkbox with a label:

<input .... ><label ...>I need some support from someone while I am on-site.</label>

Chris Heilmann
Blog: http://www.wait-till-i.com
Writing: http://icant.co.uk/
Binaries: http://www.onlinetools.org/
To manage your subscription, visit http://list.webaim.org/ Address list messages to <EMAIL REMOVED>

This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.