You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I may've just missed how to do so but is there a way to add these as HTML tags to the SVG? title attributes aren't recognized by screen readers and the recommended method for accessible icons is to put a <title> or <text> tag within the SVG.
It'd be super useful to be able to do something like <Heroicons.gear solid title="A gear" /> and <title>A gear</title> would show up within the rendered SVG.
Attributes such as aria-label aren't a problem as they can, already, be added like any other attribute.
The text was updated successfully, but these errors were encountered:
I may've just missed how to do so but is there a way to add these as HTML tags to the SVG?
title
attributes aren't recognized by screen readers and the recommended method for accessible icons is to put a<title>
or<text>
tag within the SVG.It'd be super useful to be able to do something like
<Heroicons.gear solid title="A gear" />
and<title>A gear</title>
would show up within the rendered SVG.Attributes such as
aria-label
aren't a problem as they can, already, be added like any other attribute.The text was updated successfully, but these errors were encountered: