Description
We are using TreeView in the NestedListView and I came across this warning in the axe tests: ARIA attribute element ID does not exist on the page: aria-describedby=":r3: :r4:". The aria-describedby is set in the TreeView Primer component by the leading visual and the trailing visual. Because the NestedListView does not use the TreeView.LeadingVisual and TreeView.TrailingVisual, the ids do not exist on the page.
Steps to reproduce
- Go to Storybook Recipes > NestedListView > Example
- Open Accessibility tab in the Add Ons panel
- Click the Incomplete tab to view test warnings
- Notice "ARIA attributes must conform to valid values"
Version
v36.12.0
Browser
Chrome