carbon-design-system / carbon

A design system built by IBM
https://www.carbondesignsystem.com
Apache License 2.0
7.61k stars 1.76k forks source link

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

Open oartigue opened 1 month ago

oartigue commented 1 month ago

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

Note: This issue https://github.com/carbon-design-system/carbon/pull/7777 has been closed but not fix this problem.

Code of Conduct

LUCROFT commented 1 month ago

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