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
-
Community Discussion: Did Your Google Listing Suddenly Disappear?
There is nothing quite so alarming as seeing your business suddenly vanish from the Google local packs/local finder. We got first wind of this when Moz community member CalicoKitty2000 posted that their fishing charter business in Florida had abruptly stopped showing after enjoying historical high local rankings for a very long time. Their company is Sea Leveler Sport Fishing Charters. Their organic rankings were still a-okay, and as I was digging around trying to rule out common problems like guideline violations, malware, penalties, I was lucky enough to come across a totally separate discussion of the same startling phenomenon at Linda Buquet's Local Search Forum. To observe this phenomenon for yourself, look up 'fishing charters cape canaveral'. In the local pack, click the 'more places' link to get to the local finder. Observe what is in the local finder view, including the fact that only one business is located at 505 Glen Cheek Dr. Then, zoom in on the map, and you will see CalicoKitty2000's company, Sea Leveler Sport Fishing Charters, magically reappear in the results. You will ALSO notice that something like 8 other businesses, in addition to Sea Leveler, located at 505 Glen Cheek Dr., are also suddenly present in the local finder at that zoomed-in view. What appears to be happening here is that Google has made a change in which they will only show a single business at a given address within the same category. This is a major, major change that poses a very obvious problem for businesses like legal firms and medical practitioners who share the same building and category. Coworking spaces hosting a variety of same-specialty tech startups also come to mind. Joy Hawkins (one of the smartest Local SEOs I know), posits this in addition to the shared building/shared category factors influencing this change: "I believe Google is A/B testing at the moment which explains the crazy fluctuation we're still seeing daily on trackers like Algoroo" Joy says she's planning to write an article about this soon, so be on the lookout for that if this has affected your business. In the meantime, I have two thoughts: This filter is so unfriendly to so many businesses, I would not be surprised to see it go away. However, it never hurts to create buzz/raise awareness. If you've been affected, you might want to post your example in Google's forum with a plea to Google to treat you more fairly. I would argue that it is NOT creating a good user experience for people seeking a doctor, a chiropractor or a fishing charter in a specific neighborhood to be shown only partial, single results. I know I'd rather know that there are 7-8 choices of fishing charters conveniently located in a building on a marina. After all, if one charter is all booked up for the day, I'd like to know that other companies are there to serve me, wouldn't you? I'd say this apparent filter makes results less relevant than more relevant. I find it particularly weird that our example business, Sea Leveler, is being filtered out given how far ahead of most competitors they are in terms of review count. Wouldn't you want to see the most-reviewed business first? Hopefully, this filter is just a test, but for the sake of damage control in the meantime, this might be a good time to invest in some Adwords to replace your missing rankings (hey, Google, I hope this isn't your diabolical idea behind the change, a-hem!). If you've been affected, please, study your SERPs and share with our community any clues you are seeing. We can all help one another survive Google's curve balls better when we share. I would love to hear of anything you are observing about this, and am particularly interested to know if you are seeing a rotation of businesses ranking at different times of day. For example, if Businesses A, B and C are all at 123 Main Street, is only business A ranking all the time at the non-zoomed level, or at some point in a given day, are B or C being given preferential treatment? Please, share your findings!
Local Listings | | MiriamEllis4 -
Google My Business - bulk location upload vs. single upload
Hi there, I have a question regarding Google My Business listings: We currently have a business with few offices (less than 10). Each office has it's Google listing under the same Google account.
Local Listings | | OrendaLtd
We plan on opening new offices at a certain pace, let's say two a month, which means we'll have more than 10 listings in the near future.
As far as I recall, Google allows up to 10 listings per account, which means it won't suffice. On the other hand, We do not have 10 offices at the time being, which means we're not eligible for a bulk upload. Any ideas how to handle this situation?0 -
Is the new local 3-pack the death of Google+ as factor?
So now we have the new 3-pack local results, which obviously cut the listings Google+ link from the results. What I find strange is that is now even when searching the business name alone, there is no sign of the associated Google+ page in the results. I still get other local third party listings like Facebook, Yellowpages, and Yelp – but no link anywhere for the Google+ page. I noticed this today when I wanted to verify something on a client’s page. There was nothing I could do search wise to bring up this business Google+ page. I finally got it by clicking the link through Moz local. After exploring this with some other clients, when I do get a Google+ page in the search results some have produced a 500 error when clicked on. If Google wasn’t killing off Google+, why would they completely omit the pages from their own search results? Another extremely strange thing, the majority of my clients are independent local businesses inside a large national company. Their Google+ listings have always been managed corporately using a bulk listing feed. We could never gain access to these pages and would always manage our listings to match that of the corp. controlled page. Well the last week of July they announced they were giving us the option to take control of the page. This happened with two different companies, MAJOR national competitors in the same industry, within a couple days of each other. They now treat it just like another version of social media, instead of a major factor within search. I find it hard to believe that something isn’t going on…
Local Listings | | masonrj0 -
How long have to wait for Google verification pin?
Its been 2 weeks we had asked request of Google maps for business local search. Still not received the pin. When can we expect the pin.
Local Listings | | ILDSEO0 -
Merging Google Place Accounts to Merge Reviews for same Company
Hi Everybody If you have 2 Google Place Listings (Local Listings) 1 with 1 Location and 1 with another Location, is there anyway to merge the 2 Accounts. 1 of them has lots of Reviews and the other contains some Reviews so Ideally there would be 1 Account which merges all Reviews into 1 Account Multiple Locations can then be added into the 1 Account. Any Ideas Thanks Adam
Local Listings | | AMG1000 -
Different phone numbers in local listings
We are setting up Google My Business for a client who has multiple locations around the country. They use different phone numbers to track enquiries from different sources - Yell, Google+, Direct Web Traffic, PPC etc. Therefore the phone numbers can be different between Google My Business and local listings. How much does/would this affect the Local listing? It may appear that Google is penalising for businesses try to understand their customers and where they come from!
Local Listings | | Astute-Media0 -
Correlation between ranking on Google organic result page and ranking on the local listing
Hi Moz fans, A quick question: any correlation between ranking on Google organic result page and ranking on the local listing or vise versa? Thnx Saab
Local Listings | | S.Saab0 -
Google+ Local and a Google+ Company Page
I have an established G+ company page but also want a G+ Local listing in order to appear on Google maps. The company does have a physical address, phone number etc. to qualify for a G+ Local listing. No current local listing exists to claim. Should I: a) Switch the currrent G+ company page to be a G+ Local page; or b) Create a new G+ Local page and keep the G+ company page; or c) Ignore G+ Local and create the listing through Google Places Thanks
Local Listings | | bjalc20110