<span class="resolved" aria-label="Resolved" title="Topic is resolved."></span>W3C Invalid

[ad_1]

Replies: 1

Hi there,

Wehn using SEOPress and adding in a matomo analytics tag and selecting nojs feature it ads in <noscript> tag on the fronend BUT in the header which is invalid. IMG tag is not permitted within the head as per:

https://html.spec.whatwg.org/multipage/scripting.html#the-noscript-element

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/noscript

What do we need to change (filter/hook?) to output that code to (prefered and recomended) before end body tag of the page (like all other scripts are out put)?

You can check that issue with any site by simply adding matomo analytics tag.

Secondly, the alt tag is empty! In file: wp-seopress\inc\functions\options-matomo.php @line 190. Not a huge issue but such a small thing shouldnt be missed or had to correct. Maybe look at doing this on future relase?

Can you please advise on the main point 1 issue please. Thanks.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer