This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 12905 - For the attribute "required" of checkbox element, I think it should be defined as "at least one is required" but not "which fields are required". So it's better use the same constraint validation with the radio element. That is if an element in the check
Summary: For the attribute "required" of checkbox element, I think it should be defin...
Status: RESOLVED WONTFIX
Alias: None
Product: HTML WG
Classification: Unclassified
Component: LC1 HTML5 spec (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: ---
Assignee: Ian 'Hixie' Hickson
QA Contact: HTML WG Bugzilla archive list
URL: http://www.whatwg.org/specs/web-apps/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-08 05:30 UTC by contributor
Modified: 2011-08-17 04:23 UTC (History)
6 users (show)

See Also:


Attachments

Description contributor 2011-06-08 05:30:18 UTC
Specification: http://www.w3.org/TR/html5/
Section: http://www.whatwg.org/specs/web-apps/current-work/#top

Comment:
For the attribute "required" of checkbox element,  I think it should be
defined as "at least one is required" but not "which fields are required". So
it's better use the same constraint validation with the radio element. That is
if an element in the checkbox group is required, and all of the input elements
in the checkbox group have a checkedness that is false, then the element is
suffering from being missing.

Posted from: 58.240.74.210
User agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.127 Safari/534.16
Comment 1 Michael[tm] Smith 2011-08-04 05:34:34 UTC
mass-move component to LC1
Comment 2 Ian 'Hixie' Hickson 2011-08-17 04:23:40 UTC
EDITOR'S RESPONSE: This is an Editor's Response to your comment. If you are satisfied with this response, please change the state of this bug to CLOSED. If you have additional information and would like the editor to reconsider, please reopen this bug. If you would like to escalate the issue to the full HTML Working Group, please add the TrackerRequest keyword to this bug, and suggest title and text for the tracker issue; or you may create a tracker issue yourself, if you are able to do so. For more details, see this document:
   http://dev.w3.org/html5/decision-policy/decision-policy.html

Status: Rejected
Change Description: no spec change
Rationale: If you want a set of items from which the user is to select one or more, you want <select multiple required>. Check boxes (and indeed all <input> types other than radio buttons) are independent from each other regardless of whether they have common names.