Closed dgorti closed 3 years ago
I am afraid I have been down this road before - are you actually testing in Jaws and nvda using different browsers? Initially jstree was designed according to the spec and no reader/browser combination worked reliably. There have been quite a few commits recently targeting a11y by members of the community - check those out too. Anyway - let me know if you are actually fixing a problem you found with a screenreader/browser combination or just following the spec.
Ivan, the aria-selected is an invalid attribute. Perhaps that spec was updated. What I am trying to do is to fix the errors generated by a11y checkers. Regarding screen readers no I have. It done that but irrespective of that these fixes are valid I would think.
aria-selected is a valid attribute for tree items, so this PR needs rework
with a role 'group'. Hence there are no direct descendent of 'tree' with a role 'treeitem'. The change here is to move the role tree from the container div to the first UL to satisfy 1.3.1 of WCAG