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

paper-dropdown-menu not currently tabbable #16

Closed xpe closed 10 years ago

xpe commented 10 years ago

Should the definition paper-dropdown-menu set/check the tabindex?

Here is an example of how core-input uses tabindex.

Or perhaps that's the job of core-dropdown-menu or core-dropdown?

xpe commented 10 years ago

This is what I'm currently doing:

<paper-dropdown-menu flex selected="everyone" valueattr="label" tabindex="0">
  <paper-item label="everyone"></paper-item>
  <paper-item label="admins"></paper-item>
</paper-dropdown-menu>

This works, but I wanted to note that I don't have to manually set the tabindex with <paper-input>, so this breaks the principle of least surprise.

morethanreal commented 10 years ago

Should be fixed.