Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with key bindings in paper-checked-element-behavior #40

Open
akc42 opened this issue Oct 25, 2015 · 0 comments
Open

Problem with key bindings in paper-checked-element-behavior #40

akc42 opened this issue Oct 25, 2015 · 0 comments

Comments

@akc42
Copy link

akc42 commented Oct 25, 2015

As far as I can determine reading the aria specs a checkbox should respond to a space key by toggling the checked property. However I don't think it should do this when enter is pressed. It is causing me problems because I end up toggling the checkbox with the enter key when trying to use it to simulate the press of the action key on the paper dialog that surrounds it. This action submits a form.

However the paper-checked-element-behavior, through its mixin of PaperInkyFocusBehavior, which in turn mixes in IronButtonState ends up with a key binding of the enter key.

I am reporting it here because I am not sure if the problem is here or in PaperInkyFocusBehavior

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants