W3C home > Mailing lists > Public > public-html@w3.org > June 2011

[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

From: <bugzilla@jessica.w3.org>
Date: Wed, 08 Jun 2011 05:30:18 +0000
To: public-html@w3.org
Message-ID: <bug-12905-2495@http.www.w3.org/Bugs/Public/>
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

This archive was generated by hypermail 2.3.1 : Monday, 29 September 2014 09:39:25 UTC