DataView: accessibility - paginator dropdown "Form field missing a label" #14891
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 DataView component. Accessibility checker tools are reporting an issue with an input element, which is a child of p-dropdown (p-dataView -> p-paginator -> p-dropdown).
The following line is what is causing the issue:
<input type="text" readonly="" aria-haspopup="listbox" pautofocus="" role="combobox" class="p-element" aria-expanded="false">
. The violated rule is this - https://dequeuniversity.com/rules/axe/4.8/label.Environment
Ubuntu 22.04, WSL 2, Windows 11 PRO
Reproducer
https://stackblitz.com/edit/github-j1atbu
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 dataView with paginator and rowsPerPageOptions accessibility tests are not reporting any issues.
The text was updated successfully, but these errors were encountered: