-
-
Notifications
You must be signed in to change notification settings - Fork 637
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
no-redundant-roles
should allow (SVG) images with role="img"
#936
Comments
saskaak
changed the title
no-redundant-roles should allow (SVG) images with role="img"
May 31, 2023
no-redundant-roles should
allow (SVG) images with role="img"
saskaak
changed the title
May 31, 2023
no-redundant-roles should
allow (SVG) images with role="img"no-redundant-roles
should allow (SVG) images with role="img"
saskaak
changed the title
May 31, 2023
no-redundant-roles
should allow (SVG) images with role="img"no-redundant-roles
should allow (SVG) images with role="img"
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello!
As far as I know
<img src="some-image.svg" role="img">
is an actual pattern that can be used to increase browser/screenreader support for SVG images specifically.Thus,
no-redundant-roles
should allow images with role="img".See the difference here comparing pattern 1 (no explicit role) and pattern 2 (with explicit role): https://www.smashingmagazine.com/2021/05/accessible-svg-patterns-comparison/
The text was updated successfully, but these errors were encountered: