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
-
How do I rank for a different business categories on google local?
Hello, How do I appear on the local listings for google in different categories or services that I offer? For instance, we're a physical therapy clinic by trade but we specialize in orthopedics, sports medicine, and lower back pain. Thus, how do I rank on google local for these types of services? Currently, we rank for physical therapy but we also miss out on a big part of our business by not ranking for these listings on local. Any help or suggestions would be greatly appreciated. Cheers, Scott
Local Listings | | scottgray06200 -
Google My Business - two businesses, same location
I have client that has developed a new brand targeting a specific segment of their wider market - the more price sensitive customer. They have launched a website for this brand, which specialises in promoting special offers. Both operations have the same physical address and the new brand - that targets this niche, I believe has been set up as a service-area business on Google My Business. I think they should change this as they do publish their address on their website and do on occasion welcome customers on their premises. My question - at last! - is that can both businesses exist on Google Maps - with the same business address and is this the right way to proceed if I want to target directory listings for the new brand. Any thoughts welcomed! thanks.
Local Listings | | nathangdavidson21 -
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 Address Listing
I am in the process of getting all of my directory listings updated using MOZ local and I am getting some errors that I am unable to change via the Google My Business configuration. When I place the address information into the Google My Business for our business, it is changing it to read differently than what our official mailing address is with the USPS. The official address for our business is 8900 Highway 65 -- but when typed onto GMB it is showing up as 8900 IN-65. Because of this, it is throwing off MOZ and it is not able to find the other profiles or it is saying there are inconsistencies in the listings. Is there any way for Google to change this listing to the correct address to how it should appear? Thank you!
Local Listings | | cpayne0 -
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 -
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 -
How to appear on Google Maps
We have a Google+ Local page, however, we are not appearing at all in Google Maps when searched for relevant keywords, such as Tax Accountant Dandenong (for google.com.au). What can we do to make sure that our business appears on Google Maps when relevant keyword phrases are searched?
Local Listings | | Gavo0 -
Google box
Hi All I am having trouble getting my business listing on the right hand side of the page for branded google searches. I have added the rel publisher tag to my website and have also connected my website through my google business profile. It shows as verified on my google+ page but it still does not appear. Can anyone offer some advice? Kind Regards
Local Listings | | TheZenAgency0