Closed kennethklee closed 7 years ago
Hopefully that PR is good. ^
The last demo show you how to use the paper-button as an anchor: webcomponents.org/element/PolymerElements/paper-button/demo/demo/
<a href="https://www.polymer-project.org" tabindex="-1">
<paper-button raised>Polymer Project</paper-button>
</a>
oh you're right it works all of a sudden. i wonder why it wasn't working on my computer before. nor on my project. anyway closing. closing PR too.
Description
When used with an anchor link, a pressing
enter
orspace
on a keyboard while focused does not trigger the anchor.Expected outcome
Pressing
enter
orspace
with the button focused should trigger the parent anchor link.Actual outcome
Nothing happens.
Live Demo
Steps to reproduce
<a>
.<paper-button>
element.<paper-button
element.enter
orspace
.Browsers Affected