W3C home > Mailing lists > Public > public-html@w3.org > November 2008

Re: required radio buttons and checkboxes

From: Ian Hickson <ian@hixie.ch>
Date: Wed, 5 Nov 2008 15:18:45 +0000 (UTC)
To: Philip Taylor <pjt47@cam.ac.uk>
Cc: Ben Boyle <benjamins.boyle@gmail.com>, HTML WG <public-html@w3.org>
Message-ID: <Pine.LNX.4.62.0811051518190.1237@hixie.dreamhostps.com>

On Tue, 22 Apr 2008, Philip Taylor wrote:
> > 
> > When a radio group has no checked radio button and more than one of 
> > the radio buttons is marked as required, the UA, when alerting the 
> > user, should only tell the user that the radio group as a whole is 
> > missing a value, not complain about each radio button in turn, even 
> > though all of the radio buttons marked with the required attribute 
> > would have the valueMissing flag set.
> 
> (Suggested spec change: Say "When a radio group does not have exactly 
> one checked radio button and more than ...", to be consistent with the 
> definition of "required" in the (maybe impossible?) case where more than 
> one is checked.)
> 
> (Suggested spec change: Say "When a radio group does not have exactly 
> one checked radio button, or a group of checkboxes with the same name 
> does not have one or more checked checkboxes, and more than one of the 
> group's form controls is marked as required, ...", because this should 
> apply to checkboxes and not just radio buttons.)

The wording changed quite a bit; is the new wording ok?

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Wednesday, 5 November 2008 15:19:24 UTC

This archive was generated by hypermail 2.3.1 : Monday, 29 September 2014 09:38:59 UTC