AMP errors out of the blue this January

  • Unknown's avatar

    Hi folks,

    Since Jan 15 2022, all new posts on my blog: wjquinnauthor.wordpress.com have developed the following AMP errors according to Google console:

    1. The parent tag of tag ‘html’ must be ‘!doctype’.
    2. The attribute tabindex is missing or incorrect, but required by the attribute ‘on’.
    3. A mandatory attribute is missing from an HTML tag.
    4. A tag on this page requires an AMP component ‘script’ tag, which is missing.
    5. A mandatory AMP HTML tag is missing from this document.
    6. Tag found outside the document head which is only allowed as a direct child of the document head.
    7. Tag found outside the document head which is only allowed as a direct child of the document head.
    8. Only amp-boilerplate and amp-custom ‘style’ tags are allowed, and only in the document head.
    9. Custom JavaScript is not allowed.
    10. Tag or text which is only allowed inside the body section found outside of the body section.
    11. The attribute role is missing or incorrect, but required by the attribute ‘on’.

    Given it’s a free account, and I can’t change base code, has the theme somehow broken, or this something else?

    Any help to fix appreciated

    The blog I need help with is: (visible only to logged in users)

  • Hi there,

    I see that you tried a few other themes. Is this happening in the other themes as well or only on the Hemingway Rewritten?

  • Unknown's avatar

    Hi there, the issues are being inherited no matter which theme I used. I had hoped using a modern theme designed for the new editor would solve the issues, but this has not proved the case.

  • It looks like the errors you see are the exact same ones this user reported here:

    https://wordpress.com/forums/topic/google-search-console-issues-with-amp/.

    Have a look at @kokkieh reply there :)

  • The topic ‘AMP errors out of the blue this January’ is closed to new replies.