• Resolved DS

    (@dosolnce)


    Hello. Recently, I refused the former breadcrumbs in favor of Yoast SEO breadcrumbs. Now I checked my site with HTML Validator. The results contain homogeneous errors:
    Error: End tag p seen, but there were open elements. Unclosed element “span”.
    Their number varies depending on the depth of the links, but the validator always points to Yoast SEO breadcrumbs.
    Sample:
    <p id="breadcrumbs"><span xmlns:v="http://rdf.data-vocabulary.org/#"><span typeof="v:Breadcrumb"><a href="https://mysite/" rel="v:url" property="v:title">home</a> » <span rel="v:child" typeof="v:Breadcrumb"><a href="https://mysite/category" rel="v:url" property="v:title">category-name</a> » <span rel="v:child" typeof="v:Breadcrumb"><a href="https://mysite/category/subcat" rel="v:url" property="v:title">subcat-name</a></span></p>
    Here you can see breadcrumbs generate <span>, but only one <span> is always closed.
    Tell me, please, is such construction necessary for Yoast SEO breadcrumbs or is it a bug in the plugin code? Thank you.

Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘HTML Validator vs Yoast SEO breadcrumbs’ is closed to new replies.