You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To solve this problem, you need to fix the following: List item parent element has a role that is not role="list"
It appears the pivot-facetuls currently have role="group" which makes them not semantically treated as lists; and because the lis do not currently have a role, they expect to be members of a list.
If Blacklight core were to follow the same practice as blacklight-hierarchy (which does not have this issue), we'd use role="group" or role="tree" on the uls, and role="treeitem" on the lis for nested facets. See examples.
The text was updated successfully, but these errors were encountered:
This accessibility issue is flagged by Axe DevTools when a Pivot Field is expanded.
https://dequeuniversity.com/rules/axe/4.10/listitem?application=AxeChrome
It appears the
pivot-facet
ul
s currently haverole="group"
which makes them not semantically treated as lists; and because theli
s do not currently have arole
, they expect to be members of a list.If Blacklight core were to follow the same practice as blacklight-hierarchy (which does not have this issue), we'd use
role="group"
orrole="tree"
on theul
s, androle="treeitem"
on theli
s for nested facets. See examples.The text was updated successfully, but these errors were encountered: