googlearchive / paper-dropdown-menu

A UI control to choose an option from a drop-down menu, similar to a <select>
23 stars 21 forks source link

Error when tab indexing #33

Open lukejagodzinski opened 9 years ago

lukejagodzinski commented 9 years ago

I have several fields in the form: paper-input and paper-dropdown-menu elements. I can navigate paper-input fields using TAB key but it's not true if it goes about paper-dropdown-menu element. At first it gets focus but after clicking SPACE key to open menu and SPACE key one more time to close it I'm no longer able to navigate through form elements using TAB key.

maxmednik commented 9 years ago

Also, you cannot navigate or make a selection via the keyboard once the menu is open. Expected behavior is that you can use tab or arrow keys and enter to make a selection. The dropdown seems to use arrow keys and does work if you tab inside it, but it does require that extra tab to navigate focus inside it and then be able to use the arrow keys, and that extra tab shouldn't be needed when the menu is open.