Open
Description
Hi! As suggested by @ljharb (rome/tools#556 (comment)), I wanted to open an issue to propose few new rules around accessibility for SVGs.
More details can be found here inside the rome
project: rome/tools#556
svg-has-title
: maybe the name should be reviewed because it's not justsvg
but also other elements that can be considered images (e.g.ellipse
). A SVG image should always have a<title>
as direct child;svg-has-aria-label
: if an SVG hasrole='img'
, it should also have aaria-label
(source);