Skip to content

Commit

Permalink
fix(suggest): add aria-selected to item
Browse files Browse the repository at this point in the history
  • Loading branch information
gheorghitahurmuz committed May 10, 2023
1 parent 98d25a1 commit f1bd2ef
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -354,6 +354,7 @@
(click)="preventDefault($event);
updateValue(item, !multiple, true);"
[attr.role]="'option'"
[attr.aria-selected]="isItemSelected(item)"
matRipple>
<ng-container *ngIf="!!item">
<ng-container *ngIf="itemTemplate; else defaultItem">
Expand Down

0 comments on commit f1bd2ef

Please sign in to comment.