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
-
GMB illegal edits to phone numbers
A client in the skip hire sector contacted me to say that someone is submitting edits to multiple competitors' GMB accounts changing the phone numbers to theirs. It has caused a huge row and legal ruckus as the competitors naturally assume it is them diverting calls. It definitely is not them but could be lead generation companies they use or other competitors trying to discredit them. They are growing fast and are upsetting longstanding players. Has anyone come across this before? If so how did you handle it and is there any chance of Google listening to them and assisting in the situation. Any advice is gratefully received. PS these guys are very ethical and are mortified at the situation they find themselves in.
Local Listings | | KarenJames0 -
Why is a Google Listing Showing Up in a Different Town Than Its Address?
I have a client who runs a dental office on the outskirts of Racine, WI. His address specifically shows up as being in Racine, however, his GMB profile has always showed with the category of "Dentist in Mount Pleasant, WI" displaying below the photos. (Mount Pleasant is the next town over and his office straddles the line between the two towns in Google's overlay map of the town.) Obviously this is frustrating and I'm concerned that his location is hurting his ability to rank in the larger, more populous town of Racine. Have any other SEOs ever encountered this? And if so, how have you approached the issue? Location pages? Mentions of the location more often on the pages? tsLvH2B
Local Listings | | formandfunctionagency1 -
VERY specific Google search result not showing
Hello, I'm doing this google search "Peruvian Lilies Delivery To Athens, Alabama globalrose", in the hopes of this page appearing. It does not! Does anyone know why this page (or most pages in out local.globalrose.com subdomain) aren't appearing on Google search results?
Local Listings | | globalrose.com0 -
How to get Google to choose office location pages and not the homepage. Tips and Suggestions?
Hello Mozzers The issue I have is a client with a number of office locations (six) across the south of England and they want each to rank well for each location + the qualifier solicitors. IE Brighton Solicitors. Work has been undertaken on the office location pages to include the services offered from each location, full postcodes and phone numbers. These location pages are linked to from the footer of the website so have good internal links. The site has a DA of 49 and the office location pages have a PA of 33. Google in its wisdom keeps ranking the home pages for the searches. The result is that the site ranks well in one location (London) but poorly in all the majority of others (2nd,3rd and 4th page). Were it does pick up/choose the location page the rankings are better than the homepage. The other locations are less competitive than London according to the Keyword difficulty tool. Any tips on to suggest to Google that it should rank the office location pages and not the homepage for each location? Thanks in advance 🙂
Local Listings | | highwayfive1 -
Clients are not showing up on Google Places (Maps)
Dear Esteemed Mozzers, I am having trouble with a few clients not showing up on the map for Google Maps (Places). What's interesting is that for one of my clients, a number of her competitors (some of them in the same office building) appear on the maps, however, my client does not. Nevertheless, this client is on G+, uses Yext, Yelp advertising, PPC with Google, etc. and as far as I'm concerned, has signed up for every other 'local' listing service of value. With that, I'm hoping you guys may be able to point me in the right direction to get my clients back on track and showing up on the Google Maps (Places) listings. Thank you all in advance for reading this, I look forward to your responses!
Local Listings | | maxcarnage0 -
Is Google + really being quietly shut down? What does this mean for SEO?
I've recently seen & read more and more articles about Google +'s imminent shut down. How likely is that to happen and how will this affect Google Pages for Business, and overall SEO strategies? Like this article right here.
Local Listings | | rodelmo42 -
Google Places - Bulk Dashboard Issues
Hi guys, We have two clients one for 45 listings and another one with 350 listings all controlled in two separate google places bulk upload accounts. Which can be managed here: https://www.google.com/local/manage/ Recently over the last 3 weeks, every time we make a address change or edit to the listing via thehttps://www.google.com/local/manage/ the edit is not changing the actual listing directly any more. And i have had to use the 'suggest a edit or report a problem' to get the address change. This is getting tedious, especially when you have 10+ stores changing address every week. Does anyone know why this is occurring? It worked perfectly before! I have asked GP support but they haven't given me a response. I'm in Australia and believe we're still on the old dashboard, screenshot below: http://postimg.org/image/he0hx0xox/ Kind Regards,
Local Listings | | MBASydney
RM0 -
Google+ Pages and the old places listing dashboard
I'm wondering if anyone can help me... I'm trying to set up Google+ and Google Local pages for some of our clients. For the newer clients this is easy as all their accounts are using the new Google Places dashboard which allows you to create the Local Listing and then the partnering Google+ page. Simples. Example: https://plus.google.com/+twistfix/ (A verified Google Local listing, with a verified Google+ page for the company) The problem I'm having is some of our older clients already had a Google Places listing from years ago, but this is on the old Google Dashboard (doesn't allow me to create a partnering Google+ page for the business). What is the best way around this? Do I delete these old listings and start fresh using the new Google dashboard (creating the local listing and Google+ page together?) or is there another fix?
Local Listings | | bricktech0