Phone number Schema that Google WMT blog talked about this week throwing HTML Validation error
-
My code looks like this:
The HTML validation errors are these:
Attribute contacttype not allowed on element span at this point.
Attribute areaserved not allowed on element span at this point.
Attribute contactoption not allowed on element span at this point.
Attribute availablelanguage not allowed on element span at this point.Have I misread how to implement this schema or is html validation not up to speed and I should ignore for now?
Thanks!
-
Thanks for double checking for me. I appreciate it!
-
The rich snippet testing tool looks to show valid schema markup on the page you sent and the sample link I sent passed html5 validation. At this point looks like certain parts of the schema markup are not recognized by the validator. Good to know this is the case, thanks for sharing the link.
-
This page has the schema on the phone numbers in the top right and in the footer: http://m.mexpro.com/
-
Well the document in question needs to be formatted in HTML5, otherwise it will not validate correctly. So if you run an HTML4 or XHTML page through the HTML5 validator it will not pass. You can also check here to see if the structured data is implemented correctly. Are you able to provide an example of the page you are trying to validate?
-
I am positive I check with html4. I put the code in here so.... not sure what is up...Could the code put in for mobile look like it's in there twice and not validate?
-
Hello,
Are you sure you checked the HTML5 spec? This seems to validate for me and is only basic html5 with schema markup. It's possible you have not marked up the code properly. Google provides some examples to assist with this. I believe you need to do the full markup too, not just certain parts. Hope that helps.
-
It does not validate for html5, but thanks for your input.
-
Hello,
I believe it is valid under the HTML5 doctype, but not others. If you try and validate it under that doctype it clears validation. Generally I think you can ignore this issue for now as shouldn't cause any issues if it does not validate.
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
GMB illegal edits to phone numbers
A client in the skip hire sector contacted me to say that someone is submitting edits to multiple competitors' GMB accounts changing the phone numbers to theirs. It has caused a huge row and legal ruckus as the competitors naturally assume it is them diverting calls. It definitely is not them but could be lead generation companies they use or other competitors trying to discredit them. They are growing fast and are upsetting longstanding players. Has anyone come across this before? If so how did you handle it and is there any chance of Google listening to them and assisting in the situation. Any advice is gratefully received. PS these guys are very ethical and are mortified at the situation they find themselves in.
Local Listings | | KarenJames0 -
Google My Business answers not appearing
We've been trying to use the GMB Q&A feature as a lot of customers seem to be engaging with the listing/asking relevant questions. However, sometimes we answer a question directly from the business listing account but it does not appear (no error message is shown when posting either). When we go to re-post the answer, the text is sometimes still visible in the answer box field. Any ideas what might be causing the issue?
Local Listings | | Wagada1 -
We Are An SEO Company - Why Won't Google Believe Us?!?!
Hi All, We are an SEO company based in Brisbane Australia. We help lots of clients, most of which are now on page #1 for the majority of their keywords. Except for 1: US! Organically we float between page #2-3 for the term "seo brisbane" and page #1-2 for the term "search engine optimisation brisbane" However, when it comes to the local pack we are nowhere to be found. Not only are we not in the top 3, but when you click "more places" to see how far out of the local pack we are, we are not there at all!! For whatever reason, we can't get google to believe that we really are a SEO supplier. I'm embarrassed to have to ask, but we just can't seem to work out why. Would anyone have any ideas? We know that our current website is letting us down and are 90% of the way through the build of a new one and we are confident that will help with our organic rankings but when it comes to why we are not showing at all in local results, I am at a loss. Has anyone got any advice or troubleshooting they could help with ?
Local Listings | | timcbambrick0 -
Google Business - Adding location into business name
Hello, I've a client that has many services in different locations and addresses with the same website and phone number. But the thing is they want me to involve location name to business name. Is there a way to add and verify as bulk ?
Local Listings | | omeryamac0 -
Google not finding my site
I built a website, http://deeprootshgc.com. I submitted the site to google and have set up analytics. When I search for the site, deep roots home and garden center, I get their facebook page, manta and everything but the actual URL. Any thoughts?
Local Listings | | MarkBolin1 -
Google+ Company Verification Help
I am in a huge Google+ pickle. Backstory: Client's past marketing manager set up a Google+ Company Page with their old work email as the username - that marketing manager is now gone Client also moved into a new unit within their building, therefor keeping the same address but a different suite # Client's President (my point of contact) created a new (unverified) Google+ Company Page for the new address & suite # If I verify the correct Google+ Company Page, does this overwrite the old one with the incorrect suite #? Or will I still need to dig up their old company page login to transfer ownership? Also, does anyone have any helpful beginner articles on setting up Google+ Company Pages for businesses with multiple locations? Thanks!
Local Listings | | BopDesign0 -
Does anybody have any data on what percentage of people actually click on a Google Places / Google+ listing VS call the business direct from the SERPs?
I've had a few SMB clients who have experienced drops in website traffic once their Google Places listing has gone live. It's hard for the average SMB to understand that this may not be a bad thing because they actually may be received more leads direct from the local SERPs. So while I can try to explain this to my clients, it'd be nice to have some broad data on how searchers interact with Google local listings. I'd love to learn what percentage of people call direct from the SERPs instead of clicking through to the business' website link. Obviously, the percentages would vary across different verticals, different devices & depending on whether the search query was branded or non-branded. I'm after some rough average data, so if anyone could point me in the right direction, that'd be great! 🙂
Local Listings | | Dave_Eddy0 -
Google automatically generating and verifying duplicate business pages?
Was on the phone with Google Support about duplicate, verified pages showing up and they said they're doing a "cleanse" in which an automated system is reviewing existing listings and making decisions as to how those look, which often results in a new page that Google then automatically verifies. Their Support phone system has been bogged down with people calling in, but I'm not seeing anything when I search about this issue. Is anyone else experiencing this?
Local Listings | | copyjack0