bug(MatSlideToggle): Unlabelled slide toggle cannot be labeled by a dynamically set aria-label #23094
Labels
area: material/slide-toggle
feature
This issue represents a new feature or feature request rather than a bug or bug fix
P3
An issue that is relevant to core functions, but does not impede progress. Important, but not urgent
Reproduction
https://angular-j8a87w.stackblitz.io
Steps to reproduce:
Expected Behavior
[attr.aria-label]="..." should apply an aria-label to the slide toggle and the nested input element
Actual Behavior
Applying a dynamic aria-label to an unlabeled mat-slide-toggle does not currently seem possible
Environment
The text was updated successfully, but these errors were encountered: