primevue
primevue copied to clipboard
Dialog: Accessibility - Hidden element has focusable content
Describe the bug
A page element with the attribute aria-hidden="true" also has a tabindex for the keyboard trap in the dialog, this appears to be to support focus when using non-assistive tech but it doesn't follow accessibility best practices and will flag as an error in any automated accessibility checkers at WCAG 2.2 A level.
Reproducer
https://stackblitz.com/edit/fiuumy?file=src%2FApp.vue
PrimeVue version
3.53.0
Vue version
4.x
Language
TypeScript
Build / Runtime
Vue CLI App
Browser(s)
No response
Steps to reproduce the behavior
No response
Expected behavior
No response