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

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

From: Olav Junker Kjr <olav@olav.dk>
Date: Sun, 01 Aug 2004 12:06:54 +0200
Message-ID: <WorldClient-F200408011206.AA06540424@jirty.dk>

>     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
Received on Sunday, 1 August 2004 03:06:54 UTC

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