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

False positive on Accessible name #2122

Open
shunguoy opened this issue Dec 9, 2024 · 3 comments
Open

False positive on Accessible name #2122

shunguoy opened this issue Dec 9, 2024 · 3 comments
Labels
engine Issues in the accessibility-checker-engine component T64 user-reported Issues identified outside of the core team

Comments

@shunguoy
Copy link
Contributor

shunguoy commented Dec 9, 2024

I see a violation "Accessible name does not match or contain the visible label text" with the latest rule set (the violation is only seen on 06-Aug-2024 deployment and later versions) on carbon's AILabel component
Visually, the button displays two with content " AI" and "Text goes here"
The aria-label on button is set to "AI Text goes here" (with a space b/w "AI" and Text goes here" )
more details are here : carbon-design-system/carbon#18204

<button
  aria-expanded="false"
  aria-controls="id-:re:"
  aria-label="AI Text goes here"
  type="button">
    <span class="cds--ai-label__text">AI</span>
    <span class="cds--ai-label__additional-text">Text goes here</span>
</button>

see more details: https://ibm-studios.slack.com/archives/C036P1CTN/p1733731510915439

@shunguoy shunguoy added engine Issues in the accessibility-checker-engine component T64 labels Dec 9, 2024
@philljenkins
Copy link
Contributor

@philljenkins
Copy link
Contributor

philljenkins commented Dec 10, 2024

As reported by Nikhil Tomar:
[email protected], Frontend Dev, Carbon

This is the "reproducible test" environment

@MHoov MHoov added the user-reported Issues identified outside of the core team label Dec 10, 2024
@philljenkins
Copy link
Contributor

Also see companion issue in Carbon with details at: carbon-design-system/carbon#18204

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
engine Issues in the accessibility-checker-engine component T64 user-reported Issues identified outside of the core team
Projects
None yet
Development

No branches or pull requests

3 participants