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

Multiselect: Accessibility issue aria-allowed-role - list-box role not allowed #5446

Closed
shreyashgharod opened this issue Nov 29, 2023 · 1 comment · Fixed by #5990
Closed
Assignees
Labels
Component: Accessibility Issue or pull request is related to WCAG or ARIA
Milestone

Comments

@shreyashgharod
Copy link

Describe the bug

I am facing a accessibility issue while using prime react component for multiple selection dropdown.
" aria-allowed-role - list-box role not allowed "
DD ISSUE

This similar issue is on prime react website also . If Fast Pass (Accessibility Insights for Web - this is a chrome extension) is run on prime react website.
PREACT ISSUE

Is there any fix to resolve this issue . Please do contribute.

You can check the working code in Sandbox : https://codesandbox.io/p/sandbox/primereact-multiselect-forked-wtpshd?file=%2Fsrc%2FApp.js

Reproducer

https://codesandbox.io/p/sandbox/primereact-multiselect-forked-wtpshd?file=%2Fsrc%2FApp.js

PrimeReact version

9.6.0

React version

18.x

Language

TypeScript

Build / Runtime

Create React App (CRA)

Browser(s)

Chrome

Steps to reproduce the behavior

  1. Go to prime react website & open Multiselect Component page https://primereact.org/multiselect/ in Google Chrome
  2. Open Accessibility Insights for Web extension and run fast pass . ( if you don't have the extension add from chrome extensions)
  3. You will see red box with exclamation on the Multiselect component.
  4. Click on it and see the issue.
    DD ISSUE
    PREACT ISSUE

Expected behavior

There should be no accessibility issue.

@shreyashgharod shreyashgharod added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Nov 29, 2023
@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 Nov 29, 2023
@melloware
Copy link
Member

@shreyashgharod can you check PrimeVue: https://primevue.org/multiselect/ PrimeReact will be getting all the accesibility fixes from PrimeVue so check if its an issue there also?

@melloware melloware changed the title Accessibility issue with Multiselect Component in PrimeReact - aria-allowed-role - list-box role not allowed Multiselect: Accessibility issue aria-allowed-role - list-box role not allowed Nov 29, 2023
melloware added a commit to melloware/primereact that referenced this issue Feb 16, 2024
@melloware melloware added this to the 10.5.2 milestone Feb 16, 2024
@melloware melloware self-assigned this Feb 16, 2024
melloware added a commit to melloware/primereact that referenced this issue Feb 16, 2024
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

Successfully merging a pull request may close this issue.

2 participants