Skip to content
This repository was archived by the owner on May 20, 2023. It is now read-only.

Commit 55fdda9

Browse files
Googlernshahan
authored andcommitted
Apply aria-label and aria-invalid attributes to MaterialInputComponent's input
field. This fixes a bug introduced in cl/191340003, in which these attributes were erroneously removed. PiperOrigin-RevId: 193551338
1 parent 1c18f6a commit 55fdda9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/material_input/material_input.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@
4545
[multiple]="multiple"
4646
[readonly]="disabled"
4747
[attr.role]="inputRole"
48+
[attr.aria-label]="inputAriaLabel"
49+
[attr.aria-invalid]="invalid"
4850
[attr.aria-owns]="inputAriaOwns"
4951
[attr.aria-activedescendant]="inputAriaActivedescendent"
5052
[attr.aria-expanded]="inputAriaExpanded"

0 commit comments

Comments
 (0)