From ae0f4373e9786626e635eb6c139d321f74208313 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mehmet=20=C3=87etin?= <92744169+mehmetcetin01140@users.noreply.github.com> Date: Fri, 1 Mar 2024 12:06:15 +0300 Subject: [PATCH] Fixed #14912 - Tree | ARIA attributes must conform to valid values --- src/app/components/tree/tree.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/components/tree/tree.ts b/src/app/components/tree/tree.ts index 12e815912a1..79a1e524f55 100755 --- a/src/app/components/tree/tree.ts +++ b/src/app/components/tree/tree.ts @@ -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)"