ISSUE-111: What does input.@required mean for @type = checkbox?

checkbox-required

What does input.@required mean for @type = checkbox?

State:
CLOSED
Product:
HTML 5 spec
Raised by:
Maciej Stachowiak
Opened on:
2010-04-28
Description:
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.
Related Actions Items:
No related actions
Related emails:
  1. Re: ISSUE-111 (checkbox-required): Chairs Solicit Proposals (from rubys@intertwingly.net on 2010-06-03)
  2. [minutes] HTML WG 20100603 (from plh@w3.org on 2010-06-03)
  3. {agenda} HTML WG telecon 2010-06-03 (from rubys@intertwingly.net on 2010-06-02)
  4. RE: {agenda} HTML WG telecon 2010-05-27 (from adrianba@microsoft.com on 2010-05-27)
  5. Re: {agenda} HTML WG telecon 2010-05-27 (from faulkner.steve@gmail.com on 2010-05-27)
  6. Re: {agenda} HTML WG telecon 2010-05-27 (from laura.lee.carlson@gmail.com on 2010-05-27)
  7. {agenda} HTML WG telecon 2010-05-27 (from rubys@intertwingly.net on 2010-05-26)
  8. {agenda} HTML WG telecon 2010-05-20: Surveys close, Publishing new Working Drafts (from mjs@apple.com on 2010-05-19)
  9. [Bug 9160] input['type=checkbox'].checkValidity ought to work like the radio type, testing the whole checkbox group, not each checkbox individually (from bugzilla@jessica.w3.org on 2010-05-12)
  10. RE: {agenda} HTML WG telcon 2010-04-29: Action items, new issues, Task Force reports - minutes of the meeting (from adrianba@microsoft.com on 2010-04-29)
  11. ISSUE-111 (checkbox-required): Chairs Solicit Proposals (from mjs@apple.com on 2010-04-28)
  12. {agenda} HTML WG telcon 2010-04-29: Action items, new issues, Task Force reports (from mjs@apple.com on 2010-04-28)
  13. ISSUE-111 (checkbox-required): What does input.@required mean for @type = checkbox? [HTML 5 spec] (from sysbot+tracker@w3.org on 2010-04-28)

Related notes:

Closed without prejudice: http://lists.w3.org/Archives/Public/public-html/2010Jun/0054.html

Sam Ruby, 3 Jun 2010, 17:16:15

Changelog:

Created issue 'What does input.@required mean for @type = checkbox?' nickname checkbox-required owned by Maciej Stachowiak on product HTML 5 spec, description '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.' non-public

Maciej Stachowiak, 28 Apr 2010, 21:33:47

Status changed to 'closed'

Sam Ruby, 3 Jun 2010, 17:16:15


Paul Cotton <Paul.Cotton@microsoft.com>, Maciej Stachowiak <mjs@apple.com>, Sam Ruby <rubys@intertwingly.net>, Chairs, Michael[tm] Smith <mike@w3.org>, Staff Contact
Tracker: documentation, (configuration for this group), originally developed by Dean Jackson, is developed and maintained by the Systems Team <w3t-sys@w3.org>.
$Id: index.php,v 1.323 2013-12-19 14:47:09 dom Exp $