Skip to content

Commit

Permalink
Merge pull request primefaces#15143 from TaneliTuomola/issue-14945
Browse files Browse the repository at this point in the history
fix primefaces#14945 MultiSelect toggleAllAriaLabel
  • Loading branch information
cetincakiroglu authored Mar 22, 2024
2 parents bb88daf + d3c0966 commit 7e17d57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/components/multiselect/multiselect.ts
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ export class MultiSelectItem {
[attr.aria-label]="toggleAllAriaLabel"
/>
</div>
<div class="p-checkbox-box" role="checkbox" [attr.aria-checked]="allSelected()" [ngClass]="{ 'p-highlight': allSelected(), 'p-focus': headerCheckboxFocus, 'p-disabled': disabled || toggleAllDisabled }">
<div class="p-checkbox-box" role="checkbox" [attr.aria-label]="toggleAllAriaLabel" [attr.aria-checked]="allSelected()" [ngClass]="{ 'p-highlight': allSelected(), 'p-focus': headerCheckboxFocus, 'p-disabled': disabled || toggleAllDisabled }">
<ng-container *ngIf="allSelected()">
<CheckIcon [styleClass]="'p-checkbox-icon'" *ngIf="!checkIconTemplate" [attr.aria-hidden]="true" />
<span *ngIf="checkIconTemplate" class="p-checkbox-icon" [attr.aria-hidden]="true">
Expand Down

0 comments on commit 7e17d57

Please sign in to comment.