W3C home > Mailing lists > Public > public-html@w3.org > October 2008

[Bug 6145] New: Label content model should allow <label for=a><input id=a>

From: <bugzilla@wiggum.w3.org>
Date: Wed, 08 Oct 2008 20:23:46 +0000
To: public-html@w3.org
Message-ID: <bug-6145-2495@http.www.w3.org/Bugs/Public/>


           Summary: Label content model should allow <label for=a><input
           Product: HTML WG
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Spec bugs
        AssignedTo: dave.null@w3.org
        ReportedBy: simonp@opera.com
         QAContact: public-html-bugzilla@w3.org
                CC: ian@hixie.ch, mike@w3.org, public-html@w3.org

The content model for label says

"If the element has a for attribute: Phrasing content, but with no descendant
labelable form-associated elements or label elements."

This disallows the reasonable common markup:

<label for=a><input id=a type=checkbox> Foo</label>

(Using for for compat with IE6 or some AT and nesting for increased
clickability area or for styling reasons.)

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 October 2008 20:24:21 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 29 October 2015 10:15:38 UTC