<amp-image>
element in <amp-mega-menu>
component. Also, I’m very worried about the Google Search Console message, it says – “It won’t appear in Google Search results.” (screenshot 2).
Screenshot 1: https://ibb.co/qWtJmqp
Screenshot 2: https://ibb.co/q1QLsFQ
Disallowed attribute or attribute value present in HTML tag.
The attribute 'loading' in tag 'img' is set to the invalid value 'eager'.
I can verify that the offending attribute loading="eager"
is in the AMP HTML, and I don’t see any documentation about that being an official attribute. Is this a custom attribute? If yes, should it be prepended with data-
per https://developer.mozilla.org/en-US/docs/Learn/HTML/Howto/Use_data_attributes?
If it helps, I have a support UUID: ampwp-9f8179b3-f145-555a-a154-8d6bfe387cf1.
]]>The attribute ‘XXXX’ may not appear in tag ‘amp-img’. It seems that XXXX is one word of the alt attribute of the image.
Can you help with this?
https://validator.ampproject.org/#url=https%3A%2F%2Fphoto-to-text.com%2Ffavourite-words-into-picture%2Famp%2F
]]>Can you see it by yourself here https://validator.ampproject.org/#url=https%3A%2F%2Fspacenerd.it%2F2021%2F11%2Fviolet-evergarden-film-recensione%2Famp%2F
As you can see, the alt tag is broken as
alt=Violet Evergarden Il Film
is without quotes and google implies that every word is an invalid attribute.
Any hints about how can I fix this?
(This problem is appeared, only on amp, when i started to use WebP Express… don’t know if it can be related as it happens on featured images)
And i have problem with images =( https://prnt.sc/1q5lpit
Problems started with this version = 1.0.77.16 (29th July 2021)
]]>It has been going on for many, many months now. But no AMP for WP update solves the problem.
The problem is sporadic, but nevertheless persistent. From time to time these errors start appearing in the Google Search console.
I fix them manually: for each missing ‘src’ look for the missing image url, and then in the WordPress media gallery do Regenerate Thumbnails using the plugin of the same name. Then I command Google to re-check the AMP page.
And that takes a lot of time!
Please figure out what’s going on in the first place.
P. S. My theme is BetterStudio Publisher. But the problem occurs with many users regardless of the theme.
]]>I tried to take a look at the text version of those posts and didn’t find any ‘amp-img’ tag there.
Can you please help me fixing this problem? What should I do?
Thx in advance.
]]>Im running latest WP and latest plugin in time of writing this post.
For now error only appears on blog posts. It seems error is about post featured image.
Example page with error:
https://aveoworklogs.pl/przygody-z-lenovo-g510-problemy-lvds/amp/
There’re 5 image options: 25%, 50%, 75%, 100% and Reset.
When migrating to Gutenberg blocks the default option selected is “reset”.
Check this images and captions:
The image has a width of 1280 pixels, but on front-end it’s set to 600 pixels. I need to manually set the image option to 100% (and on the back-end it goes beyond Gutenberg’s editor container)
]]>