MultiSelect: accessibility - "Form field missing a label" and "Container element is empty" violated #14892
Labels
Component: Accessibility
Issue or pull request is related to WCAG or ARIA
Resolution: Stale
Issue or pull request is inactivity and unfortunately it will be *closed* if there is no response
Describe the bug
Hi, I am working on a component which uses MultiSelect component. Acessibility cheker tools are reporting an issue with an input element, which is a child of p-multiSelect.
The following line is what is causing the issue:
<input type="text" readonly="readonly" aria-haspopup="listbox" role="listbox">
. The violated rules are:Environment
Ubuntu 22.04, WSL 2, Windows 11 PRO
Reproducer
https://stackblitz.com/edit/github-nkcodq
Angular version
15.2.10
PrimeNG version
15.2.1
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
18.18.0
Browser(s)
Chrome 121
Steps to reproduce the behavior
Expected behavior
When using multiSelect accessibility tests are not reporting any issues.
The text was updated successfully, but these errors were encountered: