Skip to content

Commit 3419e97

Browse files
dominicbachmannmistrykaran91
authored andcommitted
docs(material/chips): fix aria-label binding of chips-form-control-example (angular#30811)
Fixes the aria-label binding of the remove keyword button in chips-form-control-example html. The aria-label used string concatenation with an attribute instead of a property binding.
1 parent 7536963 commit 3419e97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components-examples/material/chips/chips-form-control/chips-form-control-example.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
@for (keyword of keywords(); track keyword) {
1212
<mat-chip-row (removed)="removeKeyword(keyword)">
1313
{{keyword}}
14-
<button matChipRemove aria-label="'remove ' + keyword">
14+
<button matChipRemove [attr.aria-label]="'remove ' + keyword">
1515
<mat-icon>cancel</mat-icon>
1616
</button>
1717
</mat-chip-row>

0 commit comments

Comments
 (0)