Skip to content

Commit

Permalink
Merge pull request #14919 from primefaces/issue-14912
Browse files Browse the repository at this point in the history
Fixed #14912 - Tree | ARIA attributes must conform to valid values
  • Loading branch information
cetincakiroglu authored Mar 5, 2024
2 parents d5ccbca + ae0f437 commit 2781c42
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 @@ -74,7 +74,7 @@ import {
[attr.aria-selected]="ariaSelected"
[attr.aria-expanded]="node.expanded"
[attr.aria-posinset]="index + 1"
[attr.aria-level]="level"
[attr.aria-level]="level + 1"
[attr.tabindex]="index === 0 ? 0 : -1"
role="treeitem"
(keydown)="onKeyDown($event)"
Expand Down

0 comments on commit 2781c42

Please sign in to comment.