Skip to content

Commit

Permalink
Fixed #16156 - Tree: Accessibility issues
Browse files Browse the repository at this point in the history
  • Loading branch information
mehmetcetin01140 committed Aug 7, 2024
1 parent 512f03d commit 641f569
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 641f569

Please sign in to comment.