Skip to content

Commit

Permalink
Merge pull request #16187 from primefaces/issue-16156
Browse files Browse the repository at this point in the history
Fixed #16156 - Tree: Accessibility issues
  • Loading branch information
cetincakiroglu authored Aug 8, 2024
2 parents b901f01 + 641f569 commit 9f024c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/components/tree/tree.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ import {
(dragend)="onDragStop($event)"
[ngClass]="{ 'p-treenode-selectable': tree.selectionMode && node.selectable !== false, 'p-treenode-dragover': draghoverNode, 'p-highlight': isSelected() }"
>
<button type="button" [attr.data-pc-section]="'toggler'" class="p-tree-toggler p-link" (click)="toggle($event)" pRipple tabindex="-1" aria-hidden="true">
<button type="button" [attr.data-pc-section]="'toggler'" class="p-tree-toggler p-link" (click)="toggle($event)" pRipple tabindex="-1">
<ng-container *ngIf="!tree.togglerIconTemplate">
<ng-container *ngIf="!node.loading">
<ChevronRightIcon *ngIf="!node.expanded" [styleClass]="'p-tree-toggler-icon'" />
Expand Down

0 comments on commit 9f024c8

Please sign in to comment.