Skip to content

Commit ac357fb

Browse files
docs(material/chips): fix aria-label binding of chips-form-control-example (#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 6ac4c1a commit ac357fb

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

+1-1
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)