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

Accessibility issues in Dropdown component #7668

Open
manu-mohan-code opened this issue Jan 31, 2025 · 3 comments
Open

Accessibility issues in Dropdown component #7668

manu-mohan-code opened this issue Jan 31, 2025 · 3 comments
Labels
Component: Accessibility Issue or pull request is related to WCAG or ARIA

Comments

@manu-mohan-code
Copy link

manu-mohan-code commented Jan 31, 2025

Describe the bug

There is one accessibility issues reported while testing with axe DevTools. PFB the issue details

  • Ensure select element has an accessible name

    <select tabindex="-1" data-pc-section="select"><option value="" data-pc-section="option" selected="">Select a City</option></select>

    Image

Kindly look into this

Reproducer

https://stackblitz.com/edit/wmh9tz9q

System Information

System:
    OS: Linux 5.0 undefined
    CPU: (8) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
    Memory: 0 Bytes / 0 Bytes
    Shell: 1.0 - /bin/jsh
  Binaries:
    Node: 18.20.3 - /usr/local/bin/node
    Yarn: 1.22.19 - /usr/local/bin/yarn
    npm: 10.2.3 - /usr/local/bin/npm
    pnpm: 8.15.6 - /usr/local/bin/pnpm
  npmPackages:
    primereact: latest => 10.9.1 
    react: 18.3.1 => 18.3.1

Steps to reproduce the behavior

No response

Expected behavior

No response

@manu-mohan-code manu-mohan-code added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Jan 31, 2025
@melloware melloware added 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 Jan 31, 2025
@melloware
Copy link
Member

@manu-mohan-code why are you reporting issue 1 again??? it was already fixed here: #7643

@melloware
Copy link
Member

Please edit the description above and remove issue 1 entirely from this ticket...

@manu-mohan-code
Copy link
Author

manu-mohan-code commented Jan 31, 2025

@melloware I thought its a different implementation in this component. Thanks for pointing this out. I will update the description

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
Projects
None yet
Development

No branches or pull requests

2 participants