W3C home > Mailing lists > Public > whatwg@whatwg.org > December 2004

[whatwg] Default Radio Buttons

From: Petrazickis <petrazi@sympatico.ca>
Date: Sat, 11 Dec 2004 16:45:22 -0500
Message-ID: <41BB6A72.5080006@sympatico.ca>
Matthew Raymond wrote:

> Ian Hickson wrote:
>> On Wed, 8 Dec 2004, Matthew Raymond wrote:
>>>   Oh, I agree that for backwards compatibility sake, we need to 
>>> support radio groups with no initial values. However, I see little 
>>> reason not to recommend default radio buttons in either WF2 or WA1. 
>>> (Probably the former.)
>> You mean give a suggestion to authors? The spec already says "Authors 
>> are recommended to always have one radio button selected. Having no 
>> radio buttons selected, or more than one in a group selected, is 
>> considered very poor UI." but I don't know what else we can do.
How about the following?
- The last radio button marked selected in a sequence will be the only 
one considered selected by the UA. The UA will not allow for more than 
one radio button to be selected at a time.
- If no radio button is marked selected, the UA will select the first 
radio button. The UA will not allow for the absence of a selected radio 

Leons Petrazickis
Received on Saturday, 11 December 2004 13:45:22 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:38 UTC