Skip to content

Commit

Permalink
Merge pull request #14436 from primefaces/issue-14355
Browse files Browse the repository at this point in the history
Fixed #14355 - TreeSelect: Trigger Button missing aria-label
  • Loading branch information
cetincakiroglu committed Dec 27, 2023
2 parents f1fa5ec + 7a1bb88 commit a9f90ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/components/treeselect/treeselect.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export const TREESELECT_VALUE_ACCESSOR: any = {
</span>
</ng-container>
</div>
<div class="p-treeselect-trigger" role="button" aria-haspopup="tree" [attr.aria-expanded]="overlayVisible">
<div class="p-treeselect-trigger" role="button" aria-haspopup="tree" [attr.aria-expanded]="overlayVisible" [attr.aria-label]="'treeselect trigger'">
<ChevronDownIcon *ngIf="!triggerIconTemplate" [styleClass]="'p-treeselect-trigger-icon'" />
<span *ngIf="triggerIconTemplate" class="p-treeselect-trigger-icon">
<ng-template *ngTemplateOutlet="triggerIconTemplate"></ng-template>
Expand Down

0 comments on commit a9f90ba

Please sign in to comment.