Skip to content

Click/enter on controls inside a checkable widget shouldn't check the widget #55

@mgiuffrida

Description

@mgiuffrida

https://jsfiddle.net/u5m3zgxx/1/

In Chrome, clicking (or pressing Enter) on a <button> or <a> inside of a <label> for an <input> does not check the corresponding <input>.

Elements like paper-checkbox and paper-radio-button do not behavior this way; tapping the button will check the checkbox/radio-button.

Just using a <label> around a <paper-checkbox> instead of putting the content directly inside the <paper-checkbox>'s light DOM isn't great because the styling is different.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions