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

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

            Bug ID: 27293
           Summary: <label> element content model
           Product: WHATWG
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTML
          Assignee: ian@hixie.ch
          Reporter: simonp@opera.com
        QA Contact: contributor@whatwg.org
                CC: master.skywalker.88@gmail.com, mike@w3.org,
                    public-html-admin@w3.org,
                    public-html-wg-issue-tracking@w3.org
        Depends on: 27292

+++ This bug was initially created as a clone of Bug #27292 +++

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 15:42:06 UTC