WebAIM - Web Accessibility In Mind

E-mail List Archives

Wrapping <legend>?

for

From: Catherine Brys
Date: Jan 14, 2005 7:34AM


Hello,

A problem I have only noticed recently and which I am still struggling with
is that in IE (PC) and Mozilla, legend do not wrap by default. Labels do but
legends don't.

I have found a work-around for IE users by putting a span with <span
style="width: 100%;word-wrap:break-word"> nested in the :

Conference papers and
proceedings
<input type="radio" id="prio11" value="daily" name="Usage Conf
Papers">Daily
<input type="radio" id="prio12" value="once or twice a week" name="Usage
Conf Papers">Once or twice a week
<input type="radio" id="prio13" value="once a month" name="Usage Conf
Papers">Once a month
<input type="radio" id="prio14" value="few times a year" name="Usage Conf
Papers">Few times a year
<input type="radio" id="prio15" value="never" name="Usage Conf
Papers">Never


This does not work in Mozilla, however.

Would anyone know a more general and elegant solution?

May thanks for your help!

Best regards,

Cath

Dr. Catherine M. Brys
Library Web Services Administrator
- Library Web Site Accessibility and Usability Project -
Glasgow University Library, Hillhead Street, Glasgow, G12 8QE, Scotland, UK
e: c.brys [at] lib.gla.ac.uk
t: +44 (0)141 330 6748
w: www.lib.gla.ac.uk/accessible