To ensure the MultiSelect component is accessible with screen readers, I have utilised the undocumented hiddenInput passthrough to assign values to aria-describedby correctly. However, I am uncertain if this is the appropriate approach.
It would be more effective if the component were extended to natively support aria-describedby, ensuring that the values are properly assigned to the hidden input element. This enhancement would improve accessibility and eliminate the need for undocumented workarounds.
Describe the bug
To ensure the MultiSelect component is accessible with screen readers, I have utilised the undocumented
hiddenInput
passthrough to assign values toaria-describedby
correctly. However, I am uncertain if this is the appropriate approach.It would be more effective if the component were extended to natively support
aria-describedby
, ensuring that the values are properly assigned to the hidden input element. This enhancement would improve accessibility and eliminate the need for undocumented workarounds.Reproducer
https://stackblitz.com/edit/primevue-4-vite-issue-template-mnjfhz?file=src%2FApp.vue
PrimeVue version
4.1.0
Vue version
3.x
Language
ES6
Build / Runtime
Vite
Browser(s)
No response
Steps to reproduce the behavior
Please see the stackblitz example.
Expected behavior
No response