You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is no way to add a label that is recognized by screen readers for the p-autocomplete component in PrimeNG. Despite trying various methods such as:
element
aria-label attribute
aria-labelledby attribute
None of these methods fix the accessibility error for missing label, as detected by the Wave Accessibility Tool. This results in the p-autocomplete component not being fully accessible for users relying on screen readers.
Environment
Angular 18.2.1
"primeng": "17.18.9",
Reproducer
No response
Angular version
18.2.1
PrimeNG version
17.18.9
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
21.5.0
Browser(s)
No response
Steps to reproduce the behavior
Use the p-autocomplete component in an Angular 18 project.
Attempt to add a label using any of the following approaches:
Standard element associated with the component.
aria-label or aria-labelledby attributes.
Run an accessibility check using Wave or any other accessibility tool.
Expected behavior
The component should correctly recognize the provided label (either through a standard or aria-label) and pass accessibility checks without errors related to missing labels.
The text was updated successfully, but these errors were encountered:
We're unable to replicate your issue, if you are able to create a reproducer by using PrimeNG Issue Template or add details please edit this issue. This issue will be closed if no activities in 20 days.
Describe the bug
There is no way to add a label that is recognized by screen readers for the p-autocomplete component in PrimeNG. Despite trying various methods such as:
None of these methods fix the accessibility error for missing label, as detected by the Wave Accessibility Tool. This results in the p-autocomplete component not being fully accessible for users relying on screen readers.
Environment
Angular 18.2.1
"primeng": "17.18.9",
Reproducer
No response
Angular version
18.2.1
PrimeNG version
17.18.9
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
21.5.0
Browser(s)
No response
Steps to reproduce the behavior
Expected behavior
The component should correctly recognize the provided label (either through a standard or aria-label) and pass accessibility checks without errors related to missing labels.
The text was updated successfully, but these errors were encountered: