svg-inject
svg-inject copied to clipboard
Always add `role="img"` to injected SVG
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