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
-
Google Business Listing Verification for Unmarked Facilities
We have been trying for over a year to get Google My Business listing verification on our facilities, which are separate from our company HQ. We have 31 facilities around the world that do not have business signs on them. We have tried sending postcards and are told that no one is receiving them. The folks who receive the mail are guards and it's tricky to ensure they field them. This has been an ongoing challenge as Google says that the alternate method requires a business sign located next to the building number, which we don't have. What do you recommend we do to get listed in GMB?
Local Listings | | EvoqueDCS0 -
How to add details to Google Local Listings
Hello, A website I am working on made it to Google's Local Pack. However, it does not have the website, hours, or location info. What is the best way to add it? I added an image link for context. http://imgur.com/rT3lQ4K Thanks!!
Local Listings | | HectorCortes0 -
Getting your business name on a Google Map?
How do you get your business name to appear on Google Maps? See attachment. What's the process to get this to happen? I have a Google Local listing, but that doesn't seem to be enough. ZzFnwBj
Local Listings | | Gavin.Atkinson0 -
Good service for loactions for google maps
Hi guys, I have one client from the locksmith niche. His service is in almost all the us but he dos not have fiscal location. Because that all the locksmith niche are consider a bit gray, so we noticed that Google not all the time accept the address (Virtual offices). Do you know good service that can give me good solution for this ? something that will give me good reliable address... Thanks
Local Listings | | EdmondHong870 -
Google Plus Business Page is not showing up
Hello, I had 2 google+ business pages. But the website under those pages were different. For example, www.abc.com on 1st one and then www.xyz.com on 2nd one. Both of them had the different business name and website but same address and phone number. Also, www.abc.com domain was set as redirecting to www.xyz.com. My 1st business page was ranking good but I wanted to use 2nd one only so I called up google and asked them to remove the 1st one and then they closed it. Now, the problem is that I lost the 1st one and 2nd one is not ranking for any of the keyword (I have checked all the pages in the SERP and it doesn't show up anywhere until last page). I have fixed all the citations everywhere recently but no luck in getting ranking. Can anyone suggest what steps can be done to rank 2nd one now? FYI, I am talking about local places ranking, the domain www.xyz.com is ranked well in organic ranking. Any help is appreciated! Brian
Local Listings | | BrianBotts.0 -
My Evernote Notes showing up on Google Search page ?
I may just be living under a rock here in Reno, but tonight while doing a search (on desktop) for a phone number of a restaurant in Tahoe, Google served me a bunch of my Evernote notes along with my SERPS After the initial "WTFriday" moment, I realized that there was an "Evernote" bar above a series of images of what Google must think are related notes --- for example in a few weeks I am planning to take friends to Bliss & Rubicon - and I had saved the map in Evernote. Next to the map image were two notes related to daughters upcoming swim meet in South Tahoe. I did a similar search and this time a listing for hours at a local pool (near Tahoe) and two other documents came up. Since I live in Reno I thought it was odd to get all those Tahoe activities - but the fact that my Evernote on "Tahoe" things was there caught me off guard. The results were locate on the right hand where local business maps usually are -- the map and business info about the restaurant I was looking for appeared below that. ... while the left hand column features traditionals SERPs. . I am just trying to find out if I am late to the party on this ... or if serving data saved in my Evernote files is new... If anyone else has seen this, let me know. I could just be late to this. ...
Local Listings | | AJFanter0 -
2 businesses same phone number
I was wondering how I should approach a scenario where I am optimizing two different companies websites that have the same phone number but different addresses. This sounds like a weird scenario, however it is out of my control. Is treating them as two separate companies fine, or do I have to take special precautions when submitting business directories and what not? Thanks for everyone's help! As a side note, is their a way to use Moz Local with both companies, right now it is getting confused as to what business belongs to what listing.
Local Listings | | brfieger0 -
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