Skip to content

Commit

Permalink
fix #15246 MultiSelect aria checked
Browse files Browse the repository at this point in the history
  • Loading branch information
Taneli Tuomola committed Apr 10, 2024
1 parent a3b991d commit 24334fd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/app/components/multiselect/multiselect.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,12 @@ export const MULTISELECT_VALUE_ACCESSOR: any = {
[attr.data-p-focused]="focused"
[attr.data-p-highlight]="selected"
[attr.data-p-disabled]="disabled"
[attr.aria-checked]="selected"
(click)="onOptionClick($event)"
(mouseenter)="onOptionMouseEnter($event)"
>
<div class="p-checkbox p-component">
<div class="p-checkbox-box" [ngClass]="{ 'p-highlight': selected }" [attr.aria-checked]="selected">
<div class="p-checkbox-box" [ngClass]="{ 'p-highlight': selected }">
<ng-container *ngIf="selected">
<CheckIcon *ngIf="!checkIconTemplate" [styleClass]="'p-checkbox-icon'" [attr.aria-hidden]="true" />
<span *ngIf="checkIconTemplate" class="p-checkbox-icon" [attr.aria-hidden]="true">
Expand Down

0 comments on commit 24334fd

Please sign in to comment.