Does having multiple <title> tags due to SVGs cause issues?
tolkin
6:09 am on Jun 6, 2017 (gmt 0)
I currently have a website that uses SVG images. Those images have their own <title> tags [developer.mozilla.org ].
Does that cause or does anyone notice the correlation of any issues because of those <title> tags?
NickMNS
11:56 am on Jun 6, 2017 (gmt 0)
I too have a site that uses svg extensively and I have had no issues with the title tags.
Note that the svg titles, are similar to the <a /a> titles. That is they are used to display a short snippet of text on hover, this is not at all the same as the <title> tag that is used in the head.
lucy24
5:06 pm on Jun 6, 2017 (gmt 0)
Wait, wait. Do you mean <title> tags--of which there should be exactly one, located in the <head>--or do you mean the title attribute, which can be attached to any element you like?
NickMNS
5:17 pm on Jun 6, 2017 (gmt 0)
It is a <title> tag within the <svg> tag. But it is equivalent to the title atttribute in html, and not the same as <title> tag used in the head of the document.