Problem/Motivation
The functionality of the module is not accessible. The controls need to be either buttons or aria-labelled and they need keyboard support which is not available at the moment.
The control should show the toggle state for the element. aria-expanded=true|false
There are details what needs to happen when a tree is collapsed like the focus change and how the child elements are hidden so that they are not announced by screen readers.
Proposed resolution
Check for a11y improvements that can be implemented and make them real.
Remaining tasks
Check if it would it break something on existing sites.
Comments
Comment #4
nickolajPatch adds accessibility improvements: changes collapser from
Comment #5
nagy.balint commentedThis issue has been fixed with the last commit in dev.