W3C home > Mailing lists > Public > www-validator-cvs@w3.org > December 2011

[Bug 15101] Multiple input buttons inside a label

From: <bugzilla@jessica.w3.org>
Date: Thu, 08 Dec 2011 17:50:07 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1RYi6h-0001mk-LJ@jessica.w3.org>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=15101

--- Comment #3 from Ville Skyttä <ville.skytta@iki.fi> 2011-12-08 17:50:06 UTC ---
HTML5 validation rules are very different from XHTML or HTML < 5 validation.

For HTML5 the issue is caught:

<!DOCTYPE html>
<html>
<head><title></title>
    <label>
        <input type="button" class="setNamePattern" value="1111">
        <input type="button" class="setNamePattern" value="2222">
    </label>
</html>

Line 6, Column 65: The label element may contain at most one input, button,
select, textarea, or keygen descendant.
Line 4, Column 11: label element with multiple labelable descendants.

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Thursday, 8 December 2011 17:50:10 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 26 April 2012 12:55:31 GMT