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

Commit 75cf43b

Browse files
tijoforyounshahan
authored andcommitted
Pass down the aria-label for leading and trailing glyphs in material-input. It was not being properly bound previously.
PiperOrigin-RevId: 242754251
1 parent 2b7223d commit 75cf43b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

angular_components/lib/material_input/material_input.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
[class.floated-label]="floatingLabel">
1212
<material-icon class="glyph leading"
1313
icon="{{leadingGlyph}}"
14-
[ariaLabel]="leadingGlyphAriaLabel"
14+
[attr.aria-label]="leadingGlyphAriaLabel"
1515
[attr.disabled]="disabled">
1616
</material-icon>
1717
</span>
@@ -75,7 +75,7 @@
7575
[class.floated-label]="floatingLabel">
7676
<material-icon class="glyph trailing"
7777
icon="{{trailingGlyph}}"
78-
[ariaLabel]="trailingGlyphAriaLabel"
78+
[attr.aria-label]="trailingGlyphAriaLabel"
7979
[attr.disabled]="disabled">
8080
</material-icon>
8181
</span>

0 commit comments

Comments
 (0)