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

iron-list doesn't allow the user to <TAB> through all contents. #546

Open
1 task done
timothyarmstrong opened this issue Nov 9, 2018 · 1 comment
Open
1 task done
Assignees

Comments

@timothyarmstrong
Copy link

timothyarmstrong commented Nov 9, 2018

Description

When tabbing through the items in the iron-list, the first few items are focused, but then (after I think iron-list dynamically adds more children) tabbing will skip to the next DOM element after the iron-list. I see the same behavior when using a screenreader (I used VoiceOver on OSX Chrome).

Expected outcome

The user should be able to tab through all items in the iron-list.

Actual outcome

Only the first items are focusable; the later items are skipped.

Live Demo

Try the iron-list that the playlist panel uses on https://www.youtube.com/watch?v=fPgs3qq9CGs&list=PLhcBPsRKi9mUNNaWjSd_xNN9B1IVbJkBQ

Browsers Affected

  • Chrome
@keanulee
Copy link
Contributor

We can't control the tab order because child elements are recycled (e.g. the first element child might follow the last element child), but we do provide a tabIndex property that your child template can bind to so we can control keyboard focus through up/down arrows.

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

3 participants