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

[a11y]: the aria-label property on Combobox is ignored and the aria-labelledby property is automatically generated #16557

Closed
2 tasks done
oartigue opened this issue May 23, 2024 · 1 comment · Fixed by #17678

Comments

@oartigue
Copy link

Package

@carbon/react, carbon-components

Browser

Chrome, Firefox

Operating System

No response

Package version

1.58.0

React version

No response

Automated testing tool and ruleset

IBM Accessibility checker

Assistive technology

No response

Description

if You add the aria-label property on Combobox, the property is ignored and the aria-labelledby property is automatically generated. When I use the IBM accessibility Checker, I get this error:
The 'id' "downshift-86-label" specified for the ARIA property 'aria-labelledby' value is not valid for combobox

WCAG 2.1 Violation

No response

Reproduction/example

See Steps to reproduce

Steps to reproduce

  • Create a combobox with an aria-label
  • => The aria-label is not generated and aria-labelledby property is automatically generated with an invalid id

Note: This issue #7777 has been closed but not fix this problem.

Code of Conduct

@LUCROFT
Copy link

LUCROFT commented Jun 3, 2024

Hi ! Sorry to hassle, but for our AVT deviation it would be great to have a timeframe for a fix on this. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: ✅ Done
Development

Successfully merging a pull request may close this issue.

6 participants