Component: Multiselect Component Close Button Accessibility Issues - Close Button is empty + Screen Reader reads 'Unlabeled button' #13859
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
Describe the bug
The Multiselect component's close button is not currently passing 508 accessibility tests, because the button is 'empty'. I have attached a screenshot showing the error thrown by WAVE 508 testing tool. For accessibility purposes, button must have content.
Additionally, when utilizing a screen reader, the button to close the multiselect reads as 'unlabeled button'. This provides a screen reader user no information about what the button does.
Environment
Windows
Reproducer
https://stackblitz.com/edit/primeng-multiselect-demo?file=README.md
Angular version
16.2.1
PrimeNG version
16.3.1
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
16.19.0
Browser(s)
No response
Steps to reproduce the behavior
Note - Tools used for accessibility testing are WAVE accessibility evaluation tools browser extension and JAWS Screen Reader
To replicate Empty Button error with WAVE tool:
To replicate Screen Reader reading unlabeled button
Expected behavior
There should not be an error for 'empty button' when running accessibility tests on the component. Additionally, when using a screen reader, the screen reader should provide a description for what the button does when the user focuses on the button.
The text was updated successfully, but these errors were encountered: