[Bug 12905] New: 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

http://www.w3.org/Bugs/Public/show_bug.cgi?id=12905

           Summary: 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
           Product: HTML WG
           Version: unspecified
          Platform: Other
               URL: http://www.whatwg.org/specs/web-apps/current-work/#top
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P3
         Component: HTML5 spec (editor: Ian Hickson)
        AssignedTo: ian@hixie.ch
        ReportedBy: contributor@whatwg.org
         QAContact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html-wg-issue-tracking@w3.org,
                    public-html@w3.org


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

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

Received on Wednesday, 8 June 2011 05:30:20 UTC