[whatwg] a few comments to Webforms 2.0 Call For Comments

Olav Junker Kjær olav at olav.dk
Sun Aug 1 03:06:54 PDT 2004


>     I recommend that, for HTML documents with the W2 doctype, there 
> should always be a default option selected, regardless if that default 
> is specified. Therefore, if none of the radio buttons are set, the
> first radio button in the group would automatically be set. 

If gender is required:
(o) Female
(o) Male

If gender is not required:
(o) Female
(o) Male
(o) Not your business

In both cases is makes good sense that no option is preselected.
Especially in the first case it might seem rather strange to preselect one
of the options. Also, in both cases, it makes sense that a selection is
required for the form to be valid.

However, it would be really bad UI if it was a valid input not to select
an option, e.g. if gender was not required in the first example. This is
bad because it not obvious that it is an option, and because if you select
an option, you cannot cange your mind and unselect it (apart from
resetting the whole form).

Olav Junker Kjær





More information about the whatwg mailing list