Title or alt text for svg icons
im-me opened this issue · comments
It is not possible to add title or alt text like in img tags to these icons. E.g. for screen-readers.
It is possible by adding a child <title>
tag (and <desc>
, if you want) to the icon. This is the spec-compliant way of making SVGs accessible.
Though your PR does seem like a fair convenience feature to include. Please make the requested changes and I'll merge!
Thanks. I just made the changes :)