diff --git a/src/Component/SimpleTreeLinkNode.php b/src/Component/SimpleTreeLinkNode.php index ddc8537..6e52a03 100644 --- a/src/Component/SimpleTreeLinkNode.php +++ b/src/Component/SimpleTreeLinkNode.php @@ -17,7 +17,7 @@ public function __construct( array $options = [] ) { 'id' => 'some-id', 'items' => [], 'classes' => [], - 'role' => 'tree-item', + 'role' => 'treeitem', 'text' => '', 'title' => '', 'href' => '', diff --git a/src/Component/SimpleTreeTextNode.php b/src/Component/SimpleTreeTextNode.php index e3ecc5e..450116e 100644 --- a/src/Component/SimpleTreeTextNode.php +++ b/src/Component/SimpleTreeTextNode.php @@ -17,7 +17,7 @@ public function __construct( array $options = [] ) { 'id' => 'some-id', 'items' => [], 'classes' => [], - 'role' => 'tree-item', + 'role' => 'treeitem', 'text' => '', 'expanded' => false, ], $options );