Help with AMP vaidation errors
-
Help with many errors showing up is our search console.
running latest version along with pagefrog fb/amp, yoast seo, and yoast glue plugins among others.
Powered by AMP ? HTML – Version 1456440290687 v0.js:316:197
AMP validation had errors: validator.js:320:193“https://www.yugioh-world.com/2016/02/08/congratulations-to-ycs-atlanta-winners/amp/:167:0 The attribute ‘type’ may not appear in tag ‘author stylesheet’. (see https://github.com/ampproject/amphtml/blob/master/spec/amp-html-format.md#stylesheets)” validator.js:320:193
“https://www.yugioh-world.com/2016/02/08/congratulations-to-ycs-atlanta-winners/amp/:181:0 The attribute ‘rel’ in tag ‘link rel=’ is set to the invalid value ‘stylesheet’.” validator.js:320:193
“https://www.yugioh-world.com/2016/02/08/congratulations-to-ycs-atlanta-winners/amp/:182:0 The attribute ‘href’ in tag ‘link rel=stylesheet for fonts’ is set to the invalid value ‘https://www.yugioh-world.com/wp-includes/css/dashicons.min.css?ver=4.4.2’. (see https://github.com/ampproject/amphtml/blob/master/spec/amp-html-format.md#custom-fonts)” validator.js:320:193
“https://www.yugioh-world.com/2016/02/08/congratulations-to-ycs-atlanta-winners/amp/:183:0 The attribute ‘href’ in tag ‘link rel=stylesheet for fonts’ is set to the invalid value ‘https://www.yugioh-world.com/wp-includes/css/admin-bar.min.css?ver=4.4.2’. (see https://github.com/ampproject/amphtml/blob/master/spec/amp-html-format.md#custom-fonts)” validator.js:320:193
“https://www.yugioh-world.com/2016/02/08/congratulations-to-ycs-atlanta-winners/amp/:184:0 The attribute ‘href’ in tag ‘link rel=stylesheet for fonts’ is set to the invalid value ‘https://www.yugioh-world.com/wp-content/plugins/acurax-social-media-widget/style.css?ver=4.4.2’. (see https://github.com/ampproject/amphtml/blob/master/spec/amp-html-format.md#custom-fonts)” validator.js:320:193
“https://www.yugioh-world.com/2016/02/08/congratulations-to-ycs-atlanta-winners/amp/:257:0 The attribute ‘type’ in tag ‘script type=application/ld+json’ is set to the invalid value ‘text/javascript’.” validator.js:320:193
“https://www.yugioh-world.com/2016/02/08/congratulations-to-ycs-atlanta-winners/amp/:257:0 The parent tag of tag ‘script’ is ‘body’, but it can only be ‘head’.” validator.js:320:193
“https://www.yugioh-world.com/2016/02/08/congratulations-to-ycs-atlanta-winners/amp/:278:0 The attribute ‘type’ in tag ‘script type=application/ld+json’ is set to the invalid value ‘text/javascript’.” validator.js:320:193
“https://www.yugioh-world.com/2016/02/08/congratulations-to-ycs-atlanta-winners/amp/:278:0 The parent tag of tag ‘script’ is ‘body’, but it can only be ‘head’.” validator.js:320:193
“https://www.yugioh-world.com/2016/02/08/congratulations-to-ycs-atlanta-winners/amp/:282:2 The mandatory attribute ‘src’ is missing in tag ‘amphtml engine v0.js script’. (see https://github.com/ampproject/amphtml/blob/master/spec/amp-html-format.md#scrpt)” validator.js:320:193
“https://www.yugioh-world.com/2016/02/08/congratulations-to-ycs-atlanta-winners/amp/:282:2 The mandatory attribute ‘async’ is missing in tag ‘amphtml engine v0.js script’. (see https://github.com/ampproject/amphtml/blob/master/spec/amp-html-format.md#scrpt)” validator.js:320:193
“https://www.yugioh-world.com/2016/02/08/congratulations-to-ycs-atlanta-winners/amp/:282:2 The parent tag of tag ‘script’ is ‘body’, but it can only be ‘head’. (see https://github.com/ampproject/amphtml/blob/master/spec/amp-html-format.md#scrpt)” validator.js:320:193
“https://www.yugioh-world.com/2016/02/08/congratulations-to-ycs-atlanta-winners/amp/:293:0 The attribute ‘type’ may not appear in tag ‘author stylesheet’. (see https://github.com/ampproject/amphtml/blob/master/spec/amp-html-format.md#stylesheets)” validator.js:320:193
“https://www.yugioh-world.com/2016/02/08/congratulations-to-ycs-atlanta-winners/amp/:293:0 The parent tag of tag ‘style’ is ‘body’, but it can only be ‘head’. (see https://github.com/ampproject/amphtml/blob/master/spec/amp-html-format.md#stylesheets)” validator.js:320:193
“https://www.yugioh-world.com/2016/02/08/congratulations-to-ycs-atlanta-winners/amp/:295:1 The attribute ‘type’ may not appear in tag ‘author stylesheet’. (see https://github.com/ampproject/amphtml/blob/master/spec/amp-html-format.md#stylesheets)” validator.js:320:193
“https://www.yugioh-world.com/2016/02/08/congratulations-to-ycs-atlanta-winners/amp/:295:1 The parent tag of tag ‘style’ is ‘body’, but it can only be ‘head’. (see https://github.com/ampproject/amphtml/blob/master/spec/amp-html-format.md#stylesheets)” validator.js:320:193
“https://www.yugioh-world.com/2016/02/08/congratulations-to-ycs-atlanta-winners/amp/:297:0 The attribute ‘type’ in tag ‘script type=application/ld+json’ is set to the invalid value ‘text/javascript’.” validator.js:320:193
“https://www.yugioh-world.com/2016/02/08/congratulations-to-ycs-atlanta-winners/amp/:297:0 The parent tag of tag ‘script’ is ‘body’, but it can only be ‘head’.” validator.js:320:193
“https://www.yugioh-world.com/2016/02/08/congratulations-to-ycs-atlanta-winners/amp/:297:468 The attribute ‘type’ may not appear in tag ‘author stylesheet’. (see https://github.com/ampproject/amphtml/blob/master/spec/amp-html-format.md#stylesheets)” validator.js:320:193
“https://www.yugioh-world.com/2016/02/08/congratulations-to-ycs-atlanta-winners/amp/:297:468 The parent tag of tag ‘style’ is ‘body’, but it can only be ‘head’. (see https://github.com/ampproject/amphtml/blob/master/spec/amp-html-format.md#stylesheets)” validator.js:320:193
“https://www.yugioh-world.com/2016/02/08/congratulations-to-ycs-atlanta-winners/amp/:297:624 The attribute ‘type’ in tag ‘script type=application/ld+json’ is set to the invalid value ‘text/javascript’.” validator.js:320:193
“https://www.yugioh-world.com/2016/02/08/congratulations-to-ycs-atlanta-winners/amp/:297:624 The parent tag of tag ‘script’ is ‘body’, but it can only be ‘head’.” validator.js:320:193
“https://www.yugioh-world.com/2016/02/08/congratulations-to-ycs-atlanta-winners/amp/:326:246 The attribute ‘style’ may not appear in tag ‘span’.” validator.js:320:193
“https://www.yugioh-world.com/2016/02/08/congratulations-to-ycs-atlanta-winners/amp/:331:165 The tag ‘form’ is disallowed.” validator.js:320:193
“https://www.yugioh-world.com/2016/02/08/congratulations-to-ycs-atlanta-winners/amp/:332:6 The tag ‘input’ is disallowed.” validator.js:320:193
“https://www.yugioh-world.com/2016/02/08/congratulations-to-ycs-atlanta-winners/amp/:333:6 The tag ‘input’ is disallowed.” validator.js:320:193
“https://www.yugioh-world.com/2016/02/08/congratulations-to-ycs-atlanta-winners/amp/:367:133 The attribute ‘style’ may not appear in tag ‘span’.” validator.js:320:193
“https://www.yugioh-world.com/2016/02/08/congratulations-to-ycs-atlanta-winners/amp/:368:105 The tag ‘form’ is disallowed.” validator.js:320:193
“https://www.yugioh-world.com/2016/02/08/congratulations-to-ycs-atlanta-winners/amp/:368:182 The tag ‘input’ is disallowed.” validator.js:320:193
“https://www.yugioh-world.com/2016/02/08/congratulations-to-ycs-atlanta-winners/amp/:368:281 The tag ‘label’ is disallowed.” validator.js:320:193
“https://www.yugioh-world.com/2016/02/08/congratulations-to-ycs-atlanta-winners/amp/:368:351 The tag ‘input’ is disallowed.” validator.js:320:193
“https://www.yugioh-world.com/2016/02/08/congratulations-to-ycs-atlanta-winners/amp/:369:175 Invalid URL protocol ‘http:’ for attribute ‘src’ in tag ‘img’. (see https://www.ampproject.org/docs/reference/amp-img.html)” validator.js:320:193
“https://www.yugioh-world.com/2016/02/08/congratulations-to-ycs-atlanta-winners/amp/:369:175 The tag ‘img’ may only appear as a descendant of tag ‘noscript’. Did you mean ‘amp-img’? (see https://www.ampproject.org/docs/reference/amp-img.html)” validator.js:320:193
“https://www.yugioh-world.com/2016/02/08/congratulations-to-ycs-atlanta-winners/amp/:370:123 Invalid URL protocol ‘http:’ for attribute ‘src’ in tag ‘img’. (see https://www.ampproject.org/docs/reference/amp-img.html)” validator.js:320:193
“https://www.yugioh-world.com/2016/02/08/congratulations-to-ycs-atlanta-winners/amp/:370:123 The tag ‘img’ may only appear as a descendant of tag ‘noscript’. Did you mean ‘amp-img’? (see https://www.ampproject.org/docs/reference/amp-img.html)” validator.js:320:193
“https://www.yugioh-world.com/2016/02/08/congratulations-to-ycs-atlanta-winners/amp/:376:2 The mandatory attribute ‘amp-custom’ is missing in tag ‘author stylesheet’. (see https://github.com/ampproject/amphtml/blob/master/spec/amp-html-format.md#stylesheets)” validator.js:320:193
“https://www.yugioh-world.com/2016/02/08/congratulations-to-ycs-atlanta-winners/amp/:376:2 The parent tag of tag ‘style’ is ‘body’, but it can only be ‘head’. (see https://github.com/ampproject/amphtml/blob/master/spec/amp-html-format.md#stylesheets)” validator.js:320:193
“https://www.yugioh-world.com/2016/02/08/congratulations-to-ycs-atlanta-winners/amp/:419:0 The attribute ‘type’ in tag ‘script type=application/ld+json’ is set to the invalid value ‘text/javascript’.” validator.js:320:193
“https://www.yugioh-world.com/2016/02/08/congratulations-to-ycs-atlanta-winners/amp/:419:0 The parent tag of tag ‘script’ is ‘body’, but it can only be ‘head’.” validator.js:320:193
“https://www.yugioh-world.com/2016/02/08/congratulations-to-ycs-atlanta-winners/amp/:426:0 The attribute ‘type’ in tag ‘script type=application/ld+json’ is set to the invalid value ‘text/javascript’.” validator.js:320:193
“https://www.yugioh-world.com/2016/02/08/congratulations-to-ycs-atlanta-winners/amp/:426:0 The parent tag of tag ‘script’ is ‘body’, but it can only be ‘head’.” validator.js:320:193
“https://www.yugioh-world.com/2016/02/08/congratulations-to-ycs-atlanta-winners/amp/:427:0 The attribute ‘type’ in tag ‘script type=application/ld+json’ is set to the invalid value ‘text/javascript’.” validator.js:320:193
“https://www.yugioh-world.com/2016/02/08/congratulations-to-ycs-atlanta-winners/amp/:427:0 The parent tag of tag ‘script’ is ‘body’, but it can only be ‘head’.” validator.js:320:193
“https://www.yugioh-world.com/2016/02/08/congratulations-to-ycs-atlanta-winners/amp/:428:0 The attribute ‘type’ in tag ‘script type=application/ld+json’ is set to the invalid value ‘text/javascript’.” validator.js:320:193
“https://www.yugioh-world.com/2016/02/08/congratulations-to-ycs-atlanta-winners/amp/:428:0 The parent tag of tag ‘script’ is ‘body’, but it can only be ‘head’.”
so apparently not all prohibited (HTML) tags and/or attributes are being stripped properly.. including some js in the body area.
need help getting this fixed and to pass validation
- The topic ‘Help with AMP vaidation errors’ is closed to new replies.