🐛 Bug Report
When creating buttons for our application, we do something like:
<a title="Follow">
<SvgIcon />
</a>
The above causes the output svg to contain a blank title (<title></title>), which in Chrome, stops the tooltip from showing up.
What if we completely stripped the title tag when it is undefined?
To Reproduce
Start a project with create-react-app, import an svg component and use it without a title attribute.
🐛 Bug Report
When creating buttons for our application, we do something like:
The above causes the output svg to contain a blank title (
<title></title>), which in Chrome, stops the tooltip from showing up.What if we completely stripped the title tag when it is undefined?
To Reproduce
Start a project with create-react-app, import an svg component and use it without a title attribute.