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


           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