Closed
Description
react-dropdown-tree-select is a composite component, i.e. it's a combo of many HTML elements working in tandem. There is no WAI-ARIA guideline that covers something like this, so this component tries to adhere to guidelines for the constituent elements.
Here is a breakdown of the constituent elements:
Element | ARIA Attributes | References | Not supported |
---|---|---|---|
Search Input | -role="combobox" - aria-autocomplete="list" - aria-haspopup="true" - aria-activedescendant |
combobox-autocomplete-list | -aria-owns - aria-controls see w3c/aria/issues/716) |
Dropdown Toggle Button | -aria-haspopup="true" - aria-expanded |
menu-button-actions-active-descendant | -aria-owns - aria-controls see w3c/aria/issues/716) |
Dropdown Tree Container (ul ) |
-role="tree" - aria-multiselectable |
treeview | |
Tree Node | -role="treeitem" - aria-level - aria-expanded - aria-setsize - aria-posinset - aria-selected |
treeview | |
Tree Node Expand/Collapse | -aria-expanded |
menu-button-actions-active-descendant | |
Checkbox | -role="checkbox" - aria-checked |
checkbox | |
Tag Delete Button | -role="button" - aria-labelledby |
button |
Partially fixes #216