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

md-tab-item aria-controls property points to non-existent element in button only scenario #9108

@aidandownes

Description

@aidandownes

Actual Behavior:

  • What is the issue? *Accessibility issue. The aria-controls property for md-tab-item has the value of type tab-content-[0-9]. When md-tabs is used in a button only scenario the property points to a non-existent element.
  • What is the expected behavior? The property should not be present if there is no associated tab content.

CodePen (or steps to reproduce the issue): *

Angular Versions: *

  • Angular Version: 1.5.X
  • Angular Material Version: 1.0.0

Additional Information:

  • Browser Type: * Chrome
  • Browser Version: * 51
  • OS: * Linux
  • Stack Traces:

Metadata

Metadata

Labels

P0: criticalCritical issues that must be addressed immediately.P1: urgentUrgent issues that should be addressed in the next minor or patch release.a11yThis issue is related to accessibilityg3: reportedThe issue was reported by an internal or external product team.has: 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