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/>

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

           Summary: Label content model should allow <label for=a><input
                    id=a>
           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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:16:23 GMT