Skip to content

feat(mat-stepper): Unable to provide aria-label for mat-stepper in v21 #33130

@nileshlad09

Description

@nileshlad09

Feature Description

In Angular Material v21, the role="tablist" attribute is now applied to a child element inside mat-stepper. This change prevents developers from directly adding an aria-label to the mat-stepper itself.

In previous versions (e.g., v19), the role="tablist" was applied directly on the mat-stepper element, which allowed us to add an aria-label for accessibility purposes. With the current implementation, there is no straightforward way to provide an aria-label for the stepper component.

Use Case

No response

Metadata

Metadata

Assignees

Labels

AccessibilityThis issue is related to accessibility (a11y)P4A relatively minor issue that is not relevant to core functionsarea: material/stepperfeatureLabel used to distinguish feature request from other issues

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions