Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Webmaster tools showing 3 types of errors on Amp pages #1694

Closed
jattsaini opened this issue Jan 31, 2016 · 7 comments
Closed

Webmaster tools showing 3 types of errors on Amp pages #1694

jattsaini opened this issue Jan 31, 2016 · 7 comments
Assignees
Milestone

Comments

@dvoytenko
Copy link
Contributor

@powdercloud , I looked at couple of the pages with #development=1 and I see no errors there. Could you please take a look?

@Gregable
Copy link
Member

Gregable commented Feb 1, 2016

schema.org errors don't appear in AMP Validation as they are a Google specific markup, not AMP related.

I looked at some of the prohibitied attr errors and see them on javascript:
first: 245:0 The attribute 'content_max_width' may not appear in tag 'amp-carousel'.
second: The attribute 'content_max_width' may not appear in tag 'amp-carousel'.

These seem to be working as intended.

The invalid attribute ones do seem OK though. The search console (webmaster tools) simply hasn't recrawled these and caught up.

@jattsaini
Copy link
Author

What to do now then to fix these errors?
Any how to add the site logo to amp pages header?

@Gregable
Copy link
Member

Gregable commented Feb 2, 2016

You can see the documentation for the <amp-carousel> tag here. Specifically, you'll need to remove the attribute content_max_width from those tags.

If you aren't adding these yourself (you mentioned an AMP plugin), you may want to contact the developer of the plugin and share these errors (or this thread) with those developers. If it is the wordpress AMP plugin, I believe the support pages are here, but note that that plugin is in early development (version 0.2) and doesn't look to be complete yet.

@rudygalfi rudygalfi modified the milestones: M1, M? Feb 4, 2016
@TranslationsCloud
Copy link

Hello,

I am having the same problem. With #development=1 I have a successfull validation.. but Google Webmaster tools says:
Prohibited attribute

  • Prohibited attributes: "
  • Prohibited attributes: alt

This is really strange :(

@powdercloud
Copy link
Contributor

@TranslationsCloud Usually this points at some problem with the html syntax. The webmaster tools use a different html parser, so for some edge cases (like, really invalid html syntax) it behaves differently. This has gotten quite rare and we're working on it, so it would be useful to see your example if you can share it.
If not, you could look for " and alt in your document and look whether anything near it is wrong - e.g., a stray or missing quote character in attributes, etc. Or you could use a html5 validator on the doc (https://validator.w3.org/), it would probably find the issues as well (possibly also some other issues / noise).

@powdercloud
Copy link
Contributor

Both the webmaster console error reports for AMP and the open source validator have improved quite a bit since this bug was opened. So I'll take the liberty and close it and please come back and file a new issue where specific problems remain. Thanks in advance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants