Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Bjarne Fyrstenborg 1284 posts 4018 karma points MVP 8x c-trib
    Jan 05, 2016 @ 10:27
    Bjarne Fyrstenborg
    0

    SEO Checker report error when using <title> in svg

    It seems SEO Checker reports an error "Multiple SEO Title tags title-tag are found, a page can only have one." when using title-tag inside an svg-tag element and having title-tag in head-tag too.

    It should be valid to use title-tag inside svg-tag like this: https://developer.mozilla.org/en-US/docs/Web/SVG/Element/title

    In my case it complains about this and before title-tag also exists in head-tag. If I uncomment title-tag in svg-tag element, SEO Checker doesn't report the error:

    <figure class="logo">
      <a href="/">
        <svg class="svg-logo">
          <title>@siteNode.GetPropertyValue("siteName")</title>
          <use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="/dist/icons/icons.svg#logo"></use>
        </svg>
      </a>
     </figure>
    

    I think SEO Checker only should validate against title-tag inside head-tag.

    /Bjarne

  • Richard Soeteman 4046 posts 12899 karma points MVP 2x
    Jan 05, 2016 @ 16:17
    Richard Soeteman
    0

    You are right, will add this for a next release for now best to add to the ignore list.

Please Sign in or register to post replies

Write your reply to:

Draft