Skip to content

Commit 9ce3c2a

Browse files
fix(suggest): add aria-selected to item
1 parent 116c5e5 commit 9ce3c2a

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
@@ -397,6 +397,7 @@
397397
(click)="preventDefault($event);
398398
updateValue(item, !multiple, true);"
399399
[attr.role]="'option'"
400+
[attr.aria-selected]="isItemSelected(item)"
400401
matRipple>
401402
<ng-container *ngIf="!!item">
402403
<ng-container *ngIf="itemTemplate; else defaultItem">

0 commit comments

Comments
 (0)