WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: fieldset for radio buttons

for

From: Big John
Date: May 22, 2003 8:05PM


Marek Prokop wrote:
> I have a question on the accessibility of a search form,
> particularly whether the fieldset with a legend around the radio
> buttons is necessary (or at least useful).
-snip-
> You can review the result (unfortunately in Czech) in the left
> column below the menu of this page:
>
> http://www.sovavsiti.cz/test.html
>
> The problem is that the form occupies fairly large space and I'd
> like to make it a little shorter. I could get rid of the
> fieldset (including the legend) around the radio buttons, but I
> definitely don't want to make it less accessible. What's your
> opinion?


Hi Marek, long time no see.

I don't know how much more accessible the form is with <legend>
and <fieldset>, but you can make <legend> 'display: none'. That
would remove it from the display, but it would still be there
for non-visual user agents. I don't believe you can do the same
for <fieldset>, because all its contents would go with it.
Big John



====^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-
| Perennial student + Impractical joker + CSS junkie = Big John |
| XXXXXXXXXXX <http://www.positioniseverything.net>; XXXXXXXXXXXXXXXXX |
| XXXXXXXXXXXXX <http://users.rraz.net/mc_on_the_rocks/>; XXXXXXXXXXXX |
-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^

__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com


----
To subscribe, unsubscribe, or view list archives,
visit http://www.webaim.org/discussion/