A11y - QList does not have role="list" while QItem does have role="listitem" #17439
Labels
area/a11y
Accessibility
area/components
bug/1-repro-available
A reproduction is available and needs to be confirmed.
flavour/quasar-cli-vite
kind/bug 🐞
Qv2 🔝
Quasar v2 issues
What happened?
The QList does not have an associated
role="list"
attribute, while the child items do haverole="listitem"
. This can be added manually but therole="listitem"
on QItem is hardcoded and cannot be removed so the default behavior now is not consistent with A11y guidelines.What did you expect to happen?
QList should have the correct role
Reproduction URL
https://codepen.io/Mett-codepens/pen/PorEaeR?editors=101
How to reproduce?
Inspect the list and see there is no
role="list"
.Flavour
Quasar CLI with Vite (@quasar/cli | @quasar/app-vite)
Areas
Components (quasar), Accessibility [a11y] (quasar)
Platforms/Browsers
Firefox, Chrome, Safari, Microsoft Edge, iOS, Android, Electron
Quasar info output
No response
Relevant log output
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: