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]: Small toggle triggers "The SVG element has no accessible name" #17676

Closed
2 tasks done
jadamski02 opened this issue Oct 8, 2024 · 1 comment · Fixed by #17719
Closed
2 tasks done

[a11y]: Small toggle triggers "The SVG element has no accessible name" #17676

jadamski02 opened this issue Oct 8, 2024 · 1 comment · Fixed by #17719
Assignees
Labels
severity: 2 https://ibm.biz/carbon-severity type: a11y ♿ type: bug 🐛

Comments

@jadamski02
Copy link

jadamski02 commented Oct 8, 2024

Package

@carbon/react

Browser

Chrome

Operating System

MacOS

Package version

1.63.2

React version

17.0.2

Automated testing tool and ruleset

IBM Equal Access Accessibility Checker

Assistive technology

No response

Description

The error is triggered when Toggle component has property size with value "sm" and it is on.
I managed to reproduce it in the storybook.

WCAG 2.1 Violation

No response

Reproduction/example

https://stackblitz.com/edit/github-ojuhir?file=src%2FApp.jsx

Steps to reproduce

  1. Open Toggle component description on storybook
  2. Go to playground and choose the "sm" value of "size" prop
  3. Open the result in fullscreen
  4. Scan it with IBM Equal Access Accessibility Checker
Screen.Recording.2024-10-08.at.13.30.06.mov

Suggested Severity

None

Code of Conduct

@tay1orjones
Copy link
Member

Thanks for reporting this! I put up a PR just now that should fix it.

@tay1orjones tay1orjones moved this from ⏱ Backlog to 🚦 In Review in Design System Oct 10, 2024
@github-project-automation github-project-automation bot moved this from 🚦 In Review to ✅ Done in Design System Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
severity: 2 https://ibm.biz/carbon-severity type: a11y ♿ type: bug 🐛
Projects
Status: ✅ Done
Development

Successfully merging a pull request may close this issue.

2 participants