jamesmartin/inline_svg

Feature request: add aria-label to <path>

rhymes opened this issue · 1 comments

I was running a website through the Firefox Accessibily inspector and I get the following error on the <path> element of the SVG generated through this gem:

Screenshot 2019-10-30 at 4 41 02 PM

This disappears the second I add aria-label to the <path>.

Since path supports ARIA attributes as well, the aria: true should generated a label for that as well.

Thanks for opening this issue, @rhymes. ✨

This seems like a reasonable request to me.