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

Always add role="img" to injected SVG #50

Open
waruyama opened this issue May 23, 2021 · 0 comments
Open

Always add role="img" to injected SVG #50

waruyama opened this issue May 23, 2021 · 0 comments
Labels
accessibility Related to accessibility enhancement New feature or request

Comments

@waruyama
Copy link
Collaborator

waruyama commented May 23, 2021

For better accessibility we should consider to always add role="img" to an injected SVG. Since the original element is always an img element, this role should always be appropriate.

A nice source for SVG accessibility is this one: https://a11y-101.com/development/svg

@waruyama waruyama added accessibility Related to accessibility enhancement New feature or request and removed accessibility Related to accessibility labels May 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accessibility Related to accessibility enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant