treeitem
Widget roleAn item within a tree that may contain child treeitems and can be expanded or collapsed via aria-expanded. Its depth is conveyed with aria-level, and it may be selectable with aria-selected. It's reached with arrow-key navigation within the tree.
Used on
An item in a tree that may contain child treeitems.
Accessible name
From child text content.
Example
role="treeitem"
<li role="treeitem" aria-expanded="false">src</li>References