Re: Fieldset legend text doesn't wrap

> I've encountered this problem too. If Jason's example is an "abuse of
> legend", what exactly is the correct technique? 

The typical Windows interface convention for this would be to use
a pulldown list (although there is no guaranteed way of achieving that
in HTML as radio buttons are a valid rendering of select).  As such,
having a fieldset for a single field doesn't make much sense.

The typical use of radio buttons is where there are other controls associated
with some of the radio buttons.

Fieldset legends are normally nouns or very short noun phrases.  If the
overall page is about favourites, here, then it would be simply "colour",
otherwise "favourite colour".
 
> The problem: With each radio button in this fieldset, screen readers
> should announce two pieces of information: (1) the overall question

What's wrong with <p>?   If you only want one selection read out by 
default, you should definitely be using select, as the other reason for
using radio buttons is to stress the complete list of choices.

Received on Monday, 24 May 2004 02:55:21 UTC