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
-
Good service that helps optimize and create citations to google map listing?
Hi guys, Anyone know good service that helps optimize and create citations to google map listing? Also is there recommended WP theme that helps the ranking on google map? Thanks in advance!
Local Listings | | Tariq_Jameel1 -
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 -
HELP! Google Local dropped!
I noticed that my Google Local page does not show in any search results anymore. Looking at Moz Local, it appears that I had 250 views on August 30th and 0 after that. It just dropped overnight. I looked at Google My Business and I noticed that I had a duplicate listing (no idea where it came from). It wasn't verified though. I deleted that. I also noticed that my address has been changed to Drive instead Dr. I was very careful in making it the same everywhere, but it changed without me changing it. Perhaps someone so kindly "suggested an edit" and I didn't see that happen. Anyone have any ideas. My organic search ranking is still strong. #3 for most search terms. And we have a very strong Google Local reviews. I mean, it even shows business that have been permanently closed over me!!! And we have photos, great reviews, and regularly post to Google+. I seriously need some help. I am a small business owner that does all of my own SEO because I can't afford a good SEO. 😞
Local Listings | | CalicoKitty20000 -
Help tracking phone number calls from Google Plus & Yahoo Local
Hi, I own a business in United States and serving multiple locations around US. I have listings for all my locations in Google Business as well as in Yahoo Local. To track the phone calls that are made through Google & Yahoo, I have provided a 2 different phone numbers in these listings in order to track it effectively. Recently, I read that even the tracking phone numbers will rise an inconsistent NAP in Google local ranking factors. If such is the case, how can can effectively track the phone calls separately from these business listing? Does anyone have any better idea for this? Thank you,
Local Listings | | Luckydtech1 -
Creating a new Google local business page vs. adding additional locations to an existing Google business page?
We are a service company that both travels to customer locations and serves customers at our business location. The split is about 80/20 (travel vs. serve customers on location). We just opened up a new office in a city about 1 hour away from our main location. The question is, should we create a new business page and account on Google local or should we add the new location to our existing google local account? The new location has a separate website, phone number, email etc. My inclination is to create a new local business account/page on Google. Has anyone experimented with both solutions and tested which option creates more powerful local signals for ranking?
Local Listings | | Vspeed0 -
Opt out from certain Google properties - what's the downside?
Hi Moz Community! I manage a site where we want to have a support phone number for certain cases, but not for it to be front and centre for all our customers. At the moment, most of our unwanted call volume comes through the number showing up in SERPs due. We haven't included it in any of our listings, but it seems that Google has included it due to its presence on our site. We are now considering using the "Opt out from certain Google properties" tool on Google Webmasters but are concerned that by not playing by Google's rules that we may face some sort of penalty. https://www.google.com/webmasters/tools/opt-out Does anyone have any experience of using this tool or any thoughts on potential risks to our search rankings? Thank you!
Local Listings | | HireSpace0 -
Default Local SEO question: Does Google really do improptu check ins?
I have a client who has multiple locations within his state, many of which are satellite offices. Although they don't have anyone working at these satellite offices full time, they have office space available to them their, someone who can take calls/mail and do use the space frequently in person. We've been in the process of cleaning up duplicate and incorrect listings in directories to get on the map in the SERPs in these markets, but the local SEO outfit we've hired has come back with a problem I found surprising. In order to clean up the duplicate & incorrect Google+ profiles that we've got out there for these offices, we evidently need to work with an actual Google moderator. This moderator has said that the satellite offices in question are actually not real business locations and are in violation of G+ guidlines. The local SEO I'm using says that it's not uncommon for Google to actually send someone out to do an in person improptu visit when they are suspicious that a listing might not belong in their listings, and I find this really surprising. Do any of you have any experience with whether this is the case? FWIW, this is a real business that could have someone working remotely in these offices remotely if that's what it took to make Google happy, but they'd rather not and certainly don't need to in order to offer their services in these markets.
Local Listings | | LeeAbrahamson0 -
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