{"id":15185894,"date":"2021-12-21T20:38:03","date_gmt":"2021-12-21T20:38:03","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/disallowed-attribute-value\/"},"modified":"2021-12-21T20:38:03","modified_gmt":"2021-12-21T20:38:03","slug":"disallowed-attribute-value","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/disallowed-attribute-value\/","title":{"rendered":"Disallowed attribute value"},"content":{"rendered":"<p>I&#8217;m using the Google Search Console to flag SEO problems, and it started alerting with an error:<\/p>\n<pre><code>Disallowed attribute or attribute value present in HTML tag.\n\nThe attribute &#039;loading&#039; in tag &#039;img&#039; is set to the invalid value &#039;eager&#039;.<\/code><\/pre>\n<p>I can verify that the offending attribute <code>loading=&quot;eager&quot;<\/code> is in the AMP HTML, and I don&#8217;t see any documentation about that being an official attribute. Is this a custom attribute? If yes, should it be prepended with <code>data-<\/code> per https:\/\/developer.mozilla.org\/en-US\/docs\/Learn\/HTML\/Howto\/Use_data_attributes?<\/p>\n<p>If it helps, I have a support UUID: ampwp-9f8179b3-f145-555a-a154-8d6bfe387cf1.<\/p>\n","protected":false},"template":"","class_list":["post-15185894","topic","type-topic","status-publish","hentry","topic-tag-amp-img","topic-tag-img"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/15185894","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/15185894\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=15185894"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}