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

Fix issue related to the svg accessibilitry name requirement when the svg is used as a button image or input image #2053

Closed
shunguoy opened this issue Sep 18, 2024 · 5 comments
Labels
duplicate This issue or pull request already exists T63

Comments

@shunguoy
Copy link
Contributor

shunguoy commented Sep 18, 2024

When an svg is used as an image in button or an input, it shouldn't requirean accessible name.
also ignore the case when role =none|presentation

@philljenkins
Copy link
Contributor

Is an example "input image" like a "Search input" that uses a redundant magnifying glass SVG image?

@shunguoy shunguoy added the T63 label Sep 30, 2024
@shunguoy
Copy link
Contributor Author

dup to #2060, so close this one.

@MHoov MHoov added duplicate This issue or pull request already exists Carbon Carbon related issue and removed Carbon Carbon related issue labels Sep 30, 2024
@suneetsugu
Copy link

@shunguoy can we address this case carbon-design-system/carbon-charts#1882 (comment)

@shunguoy
Copy link
Contributor Author

@suneetsugu this was fixed and will be deployed in the Nov. release. Thanks.

@philljenkins
Copy link
Contributor

@suneetsugu and others
Note that there are other SVG related use cases, separate from this Git issue, that are have flagged issues that do require an accessible name using techniques and attributes such as:
aria-describedby
aria-labelledby
aria-label
etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists T63
Projects
None yet
Development

No branches or pull requests

4 participants