Disallowed attribute or attribute value present in HTML tag

How to fix Disallowed attribute or attribute value present in HTML tag in google search console for amp?

Recently, the google search console email me that 8 of my pages in amp has an error. The issue is said to be “Disallowed attribute or attribute value present in HTML tag.”

As a newbie, i have no idea how to fix this problem. I had my amp pages for quiet some time now, so i was confused why only now it showing problems and error. So, i have this idea in mind that maybe one of the recent update was the cause of this.

How to fix Disallowed attribute or attribute value present in HTML tag in google search console for amp?

Still have no clue on what’s going on, as i check my google search console, from 8 pages now it becomes 24 pages affected. And not only that, it says that because of the issue my amp pages will not show in google search. I was very frustrated since i already started to rank little by little in google search.

After some researching and no solution is still in mind, i decided to email the plug in itself which is the AMP for WP. I contacted them and discuss the issue. After days of waiting, they re[plied to me and told me that the problem lies with the recent update in SEO.

To temporary fix the said error, you need to: Disable the Enhanced Slacked Sharing feature in SEO. Go to your SEO- General- Features. Turn off the “Enhanced Slack Sharing.

After doing so, i started validating the error pages, and thankfully it fixes the problem. the validation of google search console is still ongoing, thankfully, from 24 pages, now only 4 pages pending.