Closed
Description
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/
Metadata
Metadata
Assignees
Labels
No labels