TreeSelect: ARIA hidden element must not be focusable or contain focusable elements #15244
Labels
Component: Accessibility
Issue or pull request is related to WCAG or ARIA
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
Describe the bug
Two empty span element between item wrapper div (p-treeselect-items-wrapper) with attribute aria-hidden="true" contains focusable elements.
firstHiddenFocusableElement and lastHiddenFocusableElement: aria-hidden attribute should be removed.
Same issue with MultiSelect fixed by: #15198
Environment
Chrome
Reproducer
https://primeng.org/multiselect
Angular version
17.0.0
PrimeNG version
17.13.0
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
18.16.0
Browser(s)
No response
Steps to reproduce the behavior
https://primeng.org/multiselect open multiselect overlay, run a11y tools
Expected behavior
No response
The text was updated successfully, but these errors were encountered: