Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dropdown: built-in filtering input element doesn't have a label #14970

Closed
HellinSunWTW opened this issue Mar 7, 2024 · 1 comment
Closed
Assignees

Comments

@HellinSunWTW
Copy link

Describe the bug

The Axe Dev Tools for Accessibility is reporting the following issue:
image
The input form doesn't have a aria label.
Could you add the required aria label as something like "Filtered by"

Environment

Windows 10

Reproducer

No response

Angular version

17.2.1

PrimeNG version

17.7.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

  1. Install the Axe Dev Tools for Accessibility plug-in.
  2. Visit the PrimeNG dropdown page (https://primeng.org/dropdown) on Chrome/Edge browser.
  3. Scan the page with Axe

Expected behavior

The required aria label gets added to the input form

@HellinSunWTW HellinSunWTW added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Mar 7, 2024
@cetincakiroglu cetincakiroglu added this to the 17.11.0 milestone Mar 8, 2024
@cetincakiroglu cetincakiroglu self-assigned this Mar 13, 2024
@cetincakiroglu cetincakiroglu added Type: Bug Issue contains a bug related to a specific component. Something about the component is not working Component: Accessibility Issue or pull request is related to WCAG or ARIA and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Mar 13, 2024
@cetincakiroglu
Copy link
Contributor

Hi,

There is an input property for that. You can use ariaFilterLabel to define an aria-label for the filter input element.

Closing the issue.

@cetincakiroglu cetincakiroglu removed this from the 17.11.0 milestone Mar 13, 2024
@cetincakiroglu cetincakiroglu removed Type: Bug Issue contains a bug related to a specific component. Something about the component is not working Component: Accessibility Issue or pull request is related to WCAG or ARIA labels Mar 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants