Skip to content

Commit

Permalink
Merge pull request #15247 from TaneliTuomola/issue-15246
Browse files Browse the repository at this point in the history
fix #15246 MultiSelect aria checked
  • Loading branch information
cetincakiroglu authored Apr 18, 2024
2 parents 74644f8 + 24334fd commit 88925d0
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 88925d0

Please sign in to comment.