Support » Plugin: Safe SVG » Accessibility Suggestions

  • Resolved Graham Armfield

    (@grahamarmfield)



    Thanks for this excellent plugin, I think it’s really useful.

    I just wanted to make a suggestion for improving the accessibility of the SVG that is output onto pages – specifically for screen reader users. If you could do this one thing, it would benefit many people.

    So, when your plugin is putting out the tag for the svg files , you correctly use the alt attribute to include any alternate text that the user has added. However, SVG support in screen readers is still a fairly new thing, and to ensure widest possible support, it’s also necessary to add the role=”img” attribute to the tag too – otherwise some screen readers won’t ‘see’ the SVG image.

    Example:
    `pointed star

Viewing 2 replies - 1 through 2 (of 2 total)
  • It stripped out the HTML, but hopefully you get the message.

    Plugin Author Daryll Doyle

    (@enshrined)

    Thanks for the insight Graham.

    I’m looking into this now and hopefully will have an update to release for this in the near future 🙂

    Cheers,
    Daryll

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.