Skip to content

Commit f1bd2ef

Browse files
fix(suggest): add aria-selected to item
1 parent 98d25a1 commit f1bd2ef

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

projects/angular/components/ui-suggest/src/ui-suggest.component.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -354,6 +354,7 @@
354354
(click)="preventDefault($event);
355355
updateValue(item, !multiple, true);"
356356
[attr.role]="'option'"
357+
[attr.aria-selected]="isItemSelected(item)"
357358
matRipple>
358359
<ng-container *ngIf="!!item">
359360
<ng-container *ngIf="itemTemplate; else defaultItem">

0 commit comments

Comments
 (0)