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: aria-expanded attribute added to <input> when setting dropdown editable to true #14969

Closed
HellinSunWTW opened this issue Mar 7, 2024 · 0 comments · Fixed by #15035
Assignees
Labels
Component: Accessibility Issue or pull request is related to WCAG or ARIA LTS-16-PORTABLE Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@HellinSunWTW
Copy link

Describe the bug

The Axe Dev Tools for Accessibility is reporting the following issue:
image

ARIA attribute is not allowed: aria-expanded="false"

Environment

Windowns 10

Reproducer

No response

Angular version

17.2.3

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

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

Expected behavior

The Axe scan doesn't return this error.

@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 Component: Accessibility Issue or pull request is related to WCAG or ARIA Type: Bug Issue contains a bug related to a specific component. Something about the component is not working 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 added a commit that referenced this issue Mar 13, 2024
Fixed #14969 - Dropdown | Remove unsupported aria-expanded attribute …
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Accessibility Issue or pull request is related to WCAG or ARIA LTS-16-PORTABLE Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants