Multiselect: aria attributes should not be set on <li> elements #14946
Labels
Component: Accessibility
Issue or pull request is related to WCAG or ARIA
Milestone
Describe the bug
Screenshot of the accessibility checker report taken from the documentation(https://primeng.org/multiselect):
![image](https://private-user-images.githubusercontent.com/129275100/310100795-7110ddd1-1fe9-4cbb-aa7a-82dc36cfbce0.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk2ODk3MTQsIm5iZiI6MTczOTY4OTQxNCwicGF0aCI6Ii8xMjkyNzUxMDAvMzEwMTAwNzk1LTcxMTBkZGQxLTFmZTktNGNiYi1hYTdhLTgyZGMzNmNmYmNlMC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjE2JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxNlQwNzAzMzRaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT01YzI2YjgwNmMyZTEwZDFlYzg5MTZmMzIzYTlmZGY3M2NjNjM3ZDFhYTdmZjBiMTU2ODM4ZDJmMjljYWIxNjA0JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.yEUKXgrYNgc3qnI3bfk2aZGrHHf2_JW_juVCOG5cln8)
Environment
Ubuntu 22.04, WSL 2, Windows 11 PRO
Reproducer
No response
Angular version
15.2.10
PrimeNG version
17.9.0
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
18.18.0
Browser(s)
No response
Steps to reproduce the behavior
No response
Expected behavior
Expected Multiselect component to not raise any accessibility issues.
The text was updated successfully, but these errors were encountered: