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

paper-badge has a tabindex while it shouldn't because of role=status #63

Open
erikkroes opened this issue May 24, 2017 · 0 comments · May be fixed by #64
Open

paper-badge has a tabindex while it shouldn't because of role=status #63

erikkroes opened this issue May 24, 2017 · 0 comments · May be fixed by #64

Comments

@erikkroes
Copy link

Description

paper-badge has role="status" and a tabindex="0".

Expected outcome

According to the wai-aria specs, a component with role="status" should not receive focus.

Actual outcome

paper-badge has tabindex="0" and can receive keyboard focus (although it is not even visible).

Live Demo

https://www.webcomponents.org/element/PolymerElements/paper-badge/demo/demo/index.html

Steps to reproduce

  1. Create a page with paper-badge
  2. Open the page in a web browser
  3. Navigate with the TAB-key
  4. paper-badge receives focus
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant