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
-
Express Update Error: Phone Call Verification Looping
In the latter half of the year I've noticed some changes with Express Update. When I get to the phone call verification point, everything works fine. The call goes through, I get the code on my screen and input it. However, what I've noticed is that the voice prompt says everything is complete, but on the screen it doesn't go to the dashboard. It loops back to the phone call verification phase. Every time I've had this issue, which is about 6 - 7 times now, I send an email to Infogroup and they tell me to customer support. Each time they tell me that their system has a bug. Express Update has not worked for almost 6 months now. The person helping me will always ask if I'm an SEO company. If you say yes, they will start pushing a new package. I'm just checking if anyone else has had this issue. I'm not sure if this is how they are vetting SEO companies. I'd like to make the phone call verification process easier.
Local Listings | | JasonKhoo0 -
Does Google Analytics automatically desseminate Maps/Places traffic from Organic traffic? Do webmasters still have to apply UTM parameter tracking to URLS in their GMB profile listings?
It was recommended a few years to apply UTM parameters to local URLs to get more accurate referral/source tracking in Google Analytics. Here is an old Moz post about this process https://moz.com/blog/tracking-traffic-from-google-places-in-google-analytics However does GA automatically separate this traffic out nowadays? Is there a method to identify the traffic coming from Maps/Places without UTM parameters? Is UTM tagging still necessary if we want to see these traffic reports?
Local Listings | | RosemaryB0 -
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 Local and Seasonal Location
We currently rank in the local 3 pack for multiple keywords for our first location. We just opened a second location which is currently hanging at around #20 in the local results. We have decided to close the first highly ranking location seasonally. We do not want to send customers to that closed location. However we also do not want to list the address with google as "permanently closed" in fear of losing all ranking power of that listing. Is it possible to transfer ranking power from location to the other or merge 2 different locations? Has anyone had any experience with this, tips, advice?? Thanks in advance! Chris
Local Listings | | enjoiart0 -
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 -
How long until an address changes after verification on Google My Business?
Started working with a company recently that had a Google My Business with an old address. I went ahead and claimed it and verified it with the postcard, but it still shows the old address if search. How long will that be?
Local Listings | | EcommerceSite0 -
New design for Googles Local Search results. No more "7 Pack"
Hello MOZ-People,
Local Listings | | Andre-S
since yesterday I see (here in germany) for many keywords, that the local results in Google (the so called "7 Pack") is just a "3 Pack". AND, and this leads to my question, for keywords that suggest Google that you want to rent a vacation home, I see the possibility to enter the dates for arrival and departure (see the pic). But for now, it seems that changeing the dates has no impact on the results. Has anyone a clue, what Google has in mind with these dates? Is the an official Google response I have missed? Thank you for your answers. Best regards
André 9pIG7CV1 -
Future of Google biz listings
Breakout from an earlier question today ... G+ versus Google My Business: Looks like I lost descriptions and cover pictures on my Google Places locations during the dashboard switchover. I have 70 locations - is it worth cleaning up at this time? I would hate to invest all of that, only to learn later I need to migrate to Google My Business (and potentially - likely? - face similar issues). Thanks,
Local Listings | | SSFCU
Sarah0