ISSUE-111 (checkbox-required): What does input.@required mean for @type = checkbox? [HTML 5 spec]

ISSUE-111 (checkbox-required): What does input.@required mean for @type = checkbox? [HTML 5 spec]

http://www.w3.org/html/wg/tracker/issues/111

Raised by: Maciej Stachowiak
On product: HTML 5 spec

Escalated from: http://www.w3.org/Bugs/Public/show_bug.cgi?id=9160
Escalation requested by: Brenton Simpson

This discussion revolves around the meaning of @required on a checkbox group in
a survey.  By definition. a radio group must have only one choice selected if
it is required.  A checkbox group functions identically to a radio group, but
it can have multiple checked values.  I contend that a checkbox group must have
at least one choice selected if it is required.

The spec currently dictates that @required directly relates to the checkbox it
is on, without consideration for others in the group - right now, any required
checkbox must be ticked.  Consider the following example.

Choose all that apply:
 - checkboxA
 - checkboxB
 - checkboxC

If any or each of these had the @required flag set under the proposed
amendment, one or more must be checked.  Currently, any that is @required MUST
be checked.

This amendment has no affect on checkbox widgets with unique names.  A checkbox
with a unique name and the @required flag set will have the same meaning
regardless of if the amendment is ratified.

Received on Wednesday, 28 April 2010 21:33:49 UTC