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
-
Improve Google Business ranking
While my client's websites have been ranking well in SERP for their keyterms I'm at a lost on what I can do to improve their Google business/map presence. I'm referring to their listing where the top three come up or when you search on Google Maps.
Local Listings | | FPK
https://gyazo.com/26ec78ed7f712157ec72492199545431 Ex 1. Several months ago my client was ranked #1 both for SERP and maps until they dropped to 2nd on maps. Now they're ranked 1st in search yet 2nd for local business rankings as you can see from the screenshot above. At one point my client's business did have more reviews than the 1st ranking business yet they still weren't 1st. Ex. 2. Client(s) is ranked 4th in search and doesn't show in the top 3 map listings for their search term. If you click on More places to view Google Maps they're listed all the way down as the 15th listing or worse can't even be found when searching by their main SEO key term . Of course they are found by searching for their business name so it's not like there is a problem with the listing. I make sure to: Completely fill out their Google Business profile(NAP, hours and add pictures) Have my client try to gain positive reviews Manage and respond to reviews(mainly the negative ones) Add map and Google business link to their website Can anyone offer any other insight on what else can be done to improve their local presence on maps that I might be missing?0 -
Can I request removal of a duplicate competitor Google Business listing?
I have a local competitor that is boggling me with his local pack rankings. For certain keyword phrases, he is ranking in multiple local 3 pack spots. The thing is, he only has one business location. So basically he has two different Google maps listings for the same business location ranking in the local pack. The NAP information is different for both listings except for the physical address. I can't understand for the life of me how this is actually helping him instead of hurting him.... My client has way more citations. A decent blog with solid content. An SEO optimized mobile website (compeititor website is not mobile ready). Etc..... Don't get me wrong, my client is doing really well and is ranking top 3 in his area for nearly 30 industry related keyword phrases. I guess that is part of the reason I'm so boggled. Can anyone provide any insight? Can I bring this up to Google and have them remove the duplicate listing somehow? I'm literally sitting #4 in the local pack for some valuable keywords, and the only reason I'm not #3 or higher is because the same physical business location is taking up two of the spots. Any help is appreciated. Thanks!
Local Listings | | GO2Tech0 -
Have You Used Twitter For Google My Business Support?
Hey Everybody! If you've been doing Local for some years, chances are, you remember those dark days in the past when there was zero Google local support. You could post something in their forum, but that was pretty much your only hope. It was an absolutely amazing day when they finally rolled out phone support, and I'm still very grateful that this exists, but just this week, I learned about another way to contact support. Joy Hawkins has surfaced a Twitter account you can tweet when in need of assistance and she says its not only really fast, but that the help is US-based (which would be great for US users). I'd never heard of this before and wondered if any of you have tried it, and what response times and overall satisfaction you experienced with it. If you've not tried it yet and are experiencing a local client conundrum, maybe give it a try and let our community here know how it went?
Local Listings | | MiriamEllis5 -
How to add a branch location to Google+ Page
I have a verified local Google+ Page all set up for my local business and linked to my website.. it shows up nicely in local results for my city. Being ambitious I am expanding my presence into another city and would like my website to start showing up in local search for that area as well. What is the protocol for best results ? Start a new Google+ page or somehow add the branch onto the existing page (although there does not seem to be anywhere for this as the page is a local business and seems to lock it in with only a single address)..
Local Listings | | wicko1 -
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 Map Disappeared
We had a client call and report that the information in the right-hand map of the SERp for their company name was presenting inaccurate information. I immediately reported the issue through Google and two days later it was fixed and the information was appearing correctly! The following week, we created a Google My Business page for the same client to help boost their presence. Now, when typing in the same general query as we did for the previous-mentioned work, the map is not showing up at all! The map does appear when I type the company name with city and state, but not only the company name as before. The listing has been verified with the Google postcard code, etc. Any insight or work arounds on this would be immensely appreciated!!
Local Listings | | BehrDesign0 -
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 Maps Spam
Has anyone had any luck with the Google webspam team getting spammy results taken down or changed? If so can you please tell me how you did it.
Local Listings | | apittsburghplumber.com0