[Bug 27292] New: <label> element content model

https://www.w3.org/Bugs/Public/show_bug.cgi?id=27292

            Bug ID: 27292
           Summary: <label> element content model
           Product: HTML WG
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTML5 spec
          Assignee: dave.null@w3.org
          Reporter: master.skywalker.88@gmail.com
        QA Contact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html-admin@w3.org,
                    public-html-wg-issue-tracking@w3.org

The label element has some restrictions in the fact that it can contain no form
controls but its labeled control, and it can't contain other label elements.
However, one more restriction should apply: it shouldn't be allowed to contain
any <a> element with a @href attribute, because on some user agents (I tested
it on Chrome, latest version as of now) clicking on link prevents the control
state change behavior, even if the link points to a different browsing context
(e.g. iframe, popup, new tab).
Or probably it shouldn't contain any interactive element, for the same reason:
conflict arises between events.

http://www.w3.org/TR/html5/forms.html#the-label-element

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Received on Monday, 10 November 2014 13:14:53 UTC