Skip to content

Commit

Permalink
Fix treeitem role (#41)
Browse files Browse the repository at this point in the history
ERM29303
  • Loading branch information
DvogelHallowelt authored Feb 23, 2024
1 parent 539b44f commit 6689afb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Component/SimpleTreeLinkNode.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public function __construct( array $options = [] ) {
'id' => 'some-id',
'items' => [],
'classes' => [],
'role' => 'tree-item',
'role' => 'treeitem',
'text' => '',
'title' => '',
'href' => '',
Expand Down
2 changes: 1 addition & 1 deletion src/Component/SimpleTreeTextNode.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public function __construct( array $options = [] ) {
'id' => 'some-id',
'items' => [],
'classes' => [],
'role' => 'tree-item',
'role' => 'treeitem',
'text' => '',
'expanded' => false,
], $options );
Expand Down

0 comments on commit 6689afb

Please sign in to comment.