-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Closed
Labels
needs triageThis issue needs to be triaged by the teamThis issue needs to be triaged by the team
Description
Is this a regression?
- Yes, this behavior used to work in the previous version
The previous version in which this bug was not present was
No response
Description
mat-stepper is creating the tabpanels INSIDE the tablist. This is semantically incorrect and fails an accessibility rule surrounding roles. The "tabs" should be in the tablist, not the tabpanels.
Reproduction
Steps to reproduce:
- run accessibility testing (I use the Chrome AXE plugin) on the documentation site: https://material.angular.io/components/stepper/overview
Expected Behavior
The "tabs" should be in the tablist, the tabpanels should NOT be inside the tablist
Actual Behavior
mat-stepper is creating the tabpanels INSIDE the tablist.
Environment
- Angular: https://material.angular.io/components/stepper/overview
- CDK/Material: 15.1.2 (tested back to 12 and that fails as well)
- Browser(s): Chrome
- Operating System (e.g. Windows, macOS, Ubuntu): MacOS
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
needs triageThis issue needs to be triaged by the teamThis issue needs to be triaged by the team

