This repository was archived by the owner on Sep 5, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
md-tab-item aria-controls property points to non-existent element in button only scenario #9108
Copy link
Copy link
Closed
Labels
P0: criticalCritical issues that must be addressed immediately.Critical issues that must be addressed immediately.P1: urgentUrgent issues that should be addressed in the next minor or patch release.Urgent issues that should be addressed in the next minor or patch release.a11yThis issue is related to accessibilityThis issue is related to accessibilityg3: reportedThe issue was reported by an internal or external product team.The issue was reported by an internal or external product team.has: Pull RequestA PR has been created to address this issueA PR has been created to address this issue
Milestone
Description
Actual Behavior:
What is the issue? *
Accessibility issue. Thearia-controls
property for md-tab-item has the value of typetab-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): *
CodePen Demo which shows your issue:
http://codepen.io/anon/pen/qNorXpDetails:
Check the aria-controls property for the generated md-tab-item elements.
Angular Versions: *
Angular Version:
1.5.XAngular Material Version:
1.0.0
Additional Information:
Browser Type: *
ChromeBrowser Version: *
51OS: *
LinuxStack Traces:
Metadata
Metadata
Assignees
Labels
P0: criticalCritical issues that must be addressed immediately.Critical issues that must be addressed immediately.P1: urgentUrgent issues that should be addressed in the next minor or patch release.Urgent issues that should be addressed in the next minor or patch release.a11yThis issue is related to accessibilityThis issue is related to accessibilityg3: reportedThe issue was reported by an internal or external product team.The issue was reported by an internal or external product team.has: Pull RequestA PR has been created to address this issueA PR has been created to address this issue