[whatwg] Default Radio Buttons
Petrazickis
petrazi at sympatico.ca
Sat Dec 11 13:45:22 PST 2004
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
button.
--
Leons Petrazickis
More information about the whatwg
mailing list