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

A11y-NVDA When moving focus across tabs always calls out tab as selected #75

Open
2 of 8 tasks
JanMiksovsky opened this issue Aug 25, 2016 · 0 comments
Open
2 of 8 tasks

Comments

@JanMiksovsky
Copy link

From @giltza on July 25, 2016 13:28

Description

NVDA accesability tool announces each paper-tab that is given a focus that it is the selected tab.

paper-tab is an aria role 'tab' implementation and should adhere to this aria role spec at https://www.w3.org/TR/wai-aria-1.1/#tab

Quote from aria spec.

In either case, authors should ensure that a selected tab has its aria-selected attribute set to true, that inactive tab elements have their aria-selected attribute set to false, and that the currently selected tab provides a visual indication that it is selected. In the absence of an aria-selected attribute on the current tab, user agents should indicate to assistive technologies through the platform accessibility API that the currently focused tab is selected.

iron-menu-behavior removes the aria-selected attribute rather then setting it to false.

Expected outcome

NVDA announces each paper-tab we traverse as selected.

Actual outcome

Only the selected tab should be announced as selected.

Live Demo

Steps to reproduce

  1. Enable NVDA accessibility tool,
  2. Go to paper-tabs demo
  3. Using the Keyboard move the focus from one tab to another (While not changing the selected state)

Browsers Affected

  • Chrome
  • Firefox
  • Safari 9
  • Safari 8
  • Safari 7
  • Edge
  • IE 11
  • IE 10

Copied from original issue: PolymerElements/paper-tabs#176

@JanMiksovsky JanMiksovsky self-assigned this Aug 25, 2016
JanMiksovsky pushed a commit to JanMiksovsky/iron-menu-behavior that referenced this issue Aug 25, 2016
…or which become deselected (rather than removing the attribute). Fixes PolymerElements#75.
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

1 participant