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+ Brand Account Separate from Google My Business
Hi everyone, I tried to create a Google+ account from a client's Google My Business, but found that 'Enable Google+' is no longer available on the sidebar of the GMB dashboard. I used this tutorial to do that before - http://onlineownership.com/create-google-page-connected-google-business-page/ An update on that article: Update: 31st October 2017
Local Listings | | nhhernandez
Google My Business has confirmed that enabling a G+ business page will no longer be available. Users will need to now create a G+ Brand page for their business on G+. My question is: If we create a separate G+ Brand page, are we still able to tie it up with GMB or are they going to be completely different platforms? On the dashboard for our older clients we have a list that goes like: Your Business is Live on Google View on Search View on Maps View on Google+ In light of this new change. Do we still really have to bother creating G+ brand pages? It seems like the newly launched Google Posts is more user-friendly and easier to update. The posts could be created on GMB and it's going to appear on searches within the local knowledge graph. Thoughts?1 -
Where does text in Google business listing description come from?
Had a question from a freelance project I'm working on and have to admit..I was stumped. When you Google the business "Salute Market Palm Beach Gardens", in the right sidebar there is a short description that reads "This patio bar serves small plates, wine & cocktails in a cozy space with an attached upscale deli." I have no idea where that text is coming from or where it is controlled..thoughts? Thanks! Ricky
Local Listings | | RickyShockley0 -
Can't get past the 15th page of Google SERPs
I've been doing Local SEO for 9 years and have never had an issue that frustrated me as much as this one. I have a client who I can't get past the 15th page of Google's SERPS for their #1 KW. Here are the details: The domain is 4 months old In that 4 month span the site has gone from a DA 1 to a DA 24 Spam score is a 0. I know this doesn't mean a ton but I can tell you from closely reviewing their AHrefs report, there's no influx of spammy links or anything like that. The design is a custom wordpress design The content is 100% unique and professionally written content The backlink profile (in my opinion) is full of high DA and PA sites from authority sites with high trust flow ... in my opinion their backlinks are superior to all but maybe a handful of competitors. I was not expecting 1st page results by now but I would have expected top 50 results a the very least. But to not crack the top 15 tells me there's some major issue here. I really need some insight as to what could be holding me back here ... I don't want to share the domain publicly but but I will PM you it if you're interested in taking a crack at it. I will seriously pay someone a small fortune if they can help me figure this out.
Local Listings | | BrianJGomez0 -
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 -
NPA. Adding two new locations. What phone numbers to use?
Hi everyone, Our client wants to add two new locations. Not sure what phone number to use.
Local Listings | | Ryan_V
We have main phone 800 number, with no adders associated, and local phone numbers for locations which we do SEO for. New two locations are not for SEO purposes. Client just want them to be listed on website and on major directories for now. Understanding NPA importance:
Should we use main 800 for both locations?
Should we get new phone numbers for each one? Thanks0 -
Google keeps updating/tweaking my Local business branch addresses ? to whats different in my citations and on page. how can I stop it?
Hi All, I have a number of branches as we have separate branch pages and separate google local listings for these. I have been trying to keep them in consistent for citation purposes but google keeps trying to tweak the address in the local listings. Sometimes for example , google is trying to remove the premises number from the Road e.g 78 Doncaster Road is the actual branch address but google local business wants it as Doncaster Road, I also see Google is wanting to sometimes remove the locality name etc?.. Also If the local listing has a county ( in America - you would have State) , google is sometimes wanting to remove this add United Kingdom in Country instead ?. Is this a problem and how to deal with it as I think this is obviously impacting my local rankings?. If i approve all these changes then do I need update all my citations and page addresses all the time ? Or can I just leave the suggested "Update" or overwrite googles suggestion with what I had originally. Does anyone else have this problem ? thanks pete
Local Listings | | PeteC120 -
How to get listed on Google My Business without any physical location ..?
I want to know the process to get listing on Google my business. I have a website, domain email ID, address all information, but Google is asking for Storefront photo. So, please suggestion me the process to get listing on Google Local Business without any storefront. Thank you.
Local Listings | | 1akal0 -
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