W3C home > Mailing lists > Public > w3c-wai-ig@w3.org > April to June 2004

Re: Fieldset legend text doesn't wrap

From: David Woolley <david@djwhome.demon.co.uk>
Date: Mon, 24 May 2004 07:50:18 +0100 (BST)
Message-Id: <200405240650.i4O6oJm00341@djwhome.demon.co.uk>
To: w3c-wai-ig@w3.org

> 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

This archive was generated by hypermail 2.3.1 : Tuesday, 13 October 2015 16:21:28 UTC