Skip to content

Commit

Permalink
fix(material-experimental/mdc-chips): missing role for trailing actio…
Browse files Browse the repository at this point in the history
…ns container (#25160)

Fixes that we didn't have a `role="gridcell"` around the trailing action of a `mat-chip-row`.

(cherry picked from commit 8cf2e99)
  • Loading branch information
crisbeto committed Jun 27, 2022
1 parent b057f49 commit 1b50a07
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/material-experimental/mdc-chips/chip-row.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@

<span
class="mdc-evolution-chip__cell mdc-evolution-chip__cell--trailing"
role="gridcell"
*ngIf="_hasTrailingIcon()">
<ng-content select="mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"></ng-content>
</span>

0 comments on commit 1b50a07

Please sign in to comment.