Skip to content
This repository has been archived by the owner on Dec 19, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant