kendo-ui-core icon indicating copy to clipboard operation
kendo-ui-core copied to clipboard

TreeView's bottom nodes should not have the aria-expanded attribute.

Open martintabakov opened this issue 3 years ago • 1 comments

Bug report

According to the ARIA spec, the TreeView non-parent nodes should not have the aria-expanded. Otherwise they would be incorrectly described to assistive technologies as parent nodes.

Reproduction of the problem

  1. Open this Demo - https://demos.telerik.com/kendo-ui/treeview/remote-data-binding
  2. Inspect the li element for a node that has no children e.g Janet Leverling

Expected/desired behavior

The bottom nodes shouldn't have an aria-expanded attribute.

Environment

  • Kendo UI version: 2022.3.913
  • Browser: [all]

martintabakov avatar Sep 15 '22 07:09 martintabakov

@veselints

martintabakov avatar Sep 15 '22 07:09 martintabakov