Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

Nav Bar & Tabs - Tabindex for Inactive Elements #9383

Description

@dakotareese

Actual Behavior:

  • What is the issue? * Currently the tabindex for inactive elements in the Nav Bar & Tab components is set to -1. This renders inactive tabs essentially invisible to screen readers.
  • What is the expected behavior?
    If the tabindex was set to zero, the same as the active tab, both the Nav Bar & Tab components would be more accessible to all users (not just screen readers).

CodePen (or steps to reproduce the issue): *

  • Inspect element on either the Tabs or Nav Bar demos to view the current values. If you use the tab key on your keyboard to cycle through interactive elements on the rendered page, you will see that the elements with tabindex="-1"are completely skipped over.

Angular Versions: *

  • Angular Version:
  • Angular Material Version: 1.1.0

Notes: If the core team would be willing to review it, my team would be happy to open a PR for this change.

tabindex

Metadata

Metadata

Assignees

Labels

P0: criticalCritical issues that must be addressed immediately.a11yThis issue is related to accessibilityhas: Pull RequestA PR has been created to address this issue

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions