• Resolved amyhall

    (@amyhall)


    Hi there,

    I’m getting an error from the Google search console saying that I have a Disallowed attribute or attribute value present in HTML tag. I have 14 blog posts with the same errors.

    Here’s the area that Google calls out as the area with the error.

    </i-amphtml-sizer><noscript>RT on the road again. Finally</noscript></amp-img><figcaption id=”caption-attachment-9349″ class=”wp-caption-text”>RT on the road again. Finally</figcaption></figure><p>Last Thursday I started a short vacation with a friend of mine and the RT in Northern California. Once again the cat stays home with a good house sitter and I departed for the northern climes.</p>

    How do I fix this, please?

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Weston Ruter

    (@westonruter)

    It appears that you have a theme/plugin which is trying to lazy-load images, so it is taking this:

    <i-amphtml-sizer class="i-amphtml-sizer"><img alt="" aria-hidden="true" class="i-amphtml-intrinsic-sizer" role="presentation" src="data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjY3NSIgd2lkdGg9IjEyMDAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgdmVyc2lvbj0iMS4xIi8+"></i-amphtml-sizer>

    And converting into:

    <i-amphtml-sizer class="i-amphtml-sizer"><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP8Xw8AAoMBgDTD2qgAAAAASUVORK5CYII=" alt="" aria-hidden="true" class="i-amphtml-intrinsic-sizer lazyload" role="presentation" data-src="data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9JzE1OCcgd2lkdGg9JzIxMCcgeG1sbnM9J2h0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnJyB2ZXJzaW9uPScxLjEnLz4="></i-amphtml-sizer>

    Notice how it is moving the src to data-src and adding a lazyload class name.

    AMP already does the lazy loading for you, so this functionality should be disabled for AMP pages. Can you identify the theme/plugin that is trying to do the lazy loading?

    @amyhall As we haven’t received a response, I’ll mark this as resolved. Feel free to open a new support topic if you continue to encounter issues, or reopen this topic and we’d be happy to assist. Thank you!

    Thread Starter amyhall

    (@amyhall)

    Sorry about not getting back here sooner. I thought I would get pinged via email… and I didn’t see it come in. The theme is Digiqole. And we’re using Elementor. Thank you so much!!!

    Thanks for the update. Do you have any additional plugins installed that feature lazy loading? If you want to share your Site Health information via this form I’d be happy to check for you.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Need help with Disallowed attribute or attribute value present in HTML tag error’ is closed to new replies.