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
-
We Are An SEO Company - Why Won't Google Believe Us?!?!
Hi All, We are an SEO company based in Brisbane Australia. We help lots of clients, most of which are now on page #1 for the majority of their keywords. Except for 1: US! Organically we float between page #2-3 for the term "seo brisbane" and page #1-2 for the term "search engine optimisation brisbane" However, when it comes to the local pack we are nowhere to be found. Not only are we not in the top 3, but when you click "more places" to see how far out of the local pack we are, we are not there at all!! For whatever reason, we can't get google to believe that we really are a SEO supplier. I'm embarrassed to have to ask, but we just can't seem to work out why. Would anyone have any ideas? We know that our current website is letting us down and are 90% of the way through the build of a new one and we are confident that will help with our organic rankings but when it comes to why we are not showing at all in local results, I am at a loss. Has anyone got any advice or troubleshooting they could help with ?
Local Listings | | timcbambrick0 -
Google points of Interest / POI
Hello, Looking for some guidance on how to appear and get listed in Google Points of Interest in the Search Engine Results Page. Like when searching for "attractions Seattle" at the top of the SERP these listings appear. Cannot seem to find some good resources on the topic as well. Thanks Conrad
Local Listings | | conalt1 -
Why would a website link disappear from a Google Place listing?
Hi, a local non-profit recently re-branded their name from MacDonald Center to Maybelle Center. When they updated their business information their website link disappeared. They've updated from within and dashboard to no avail. We've requested edits/updates via Google Map maker but it says Denied. Here's a URL for the SERP result. Note the button for "website" would normally appear by the button for "directions" https://www.google.com/search?sourceid=chrome-psyapi2&ion=1&espv=2&ie=UTF-8&q=maybelle center portland&oq=maybelle center portland&aqs=chrome..69i57j69i59j69i61.4316j0j7 Can someone please explain why this is happening and how we can fix it? They are a great community organization who's about to receive some media coverage and we'd really appreciate it if users hearing about the group be able to easily access their new website. They are aware of their duplicate listings but, typical of non-profits, have limited time and funds so are prioritizing to address more urgent issues first. However, I don't believe duplicate listings would cause such an issue but please let me know if I'm wrong here
Local Listings | | Flock.Media0 -
Hint from Google To Hospitality Industry Regarding Images + Bookings?
Hey To All My Favorite Local Folks Here! Have clients in the hospitality industry? You might be interested in this Mike Blumenthal post in which he does a good job of voicing the frustration business owners may feel when their preferred Google profile photo is overridden with Google's preferred pic. The post does more than just vent, though ... it actually hints at something quite fascinating that Google may have just offered up to the hospitality industry by switching from hotel-preferred exterior shots to Google-preferred interior shots of rooms. Mike's contention (and it's one shared by many in the industry) is that Google makes moves like this because they are maximizing profit. From the image switching that just happened, I think it makes sense to theorize that Google has gathered enough internal data to convince them that room shots lead to more bookings than do exterior views of lodgings. This wouldn't surprise me at all. When you're looking for a place to stay, it's the room you're going to stay in that matters most ... not really whether the exterior building is made of brick, wood or stucco, right? Certainly, a beautiful, fancy building could sway you, but if the rooms look awful inside, that's probably a deal breaker. If Mike is right, then I think Google's image switcharoo offers an extremely compelling reason to follow Google's lead and shine a major spotlight - on your website which you CAN control - on your interior photography. This suggestion could apply at all levels of the industry, from major hotel corporations that might want to rethink homepage contents and interior page layouts, to country B&Bs that have never made the investment in getting a pro photo shoot done that will truly showcase their rooms. I know, as a traveler, I've seen everything from stunning to downright dark, distorted and scary when it comes to hotel room photography. If Google knows it gets more bookings when good clear room shots are given pride of place, your hotel clients might want to be taking notes on that. Do you agree? As a hospitality industry Local SEO (or even as a traveler) what do you think is the most influential booking factor? Do you have any tips to share with others in the industry or an opinion on Google's switcharoo? Please, share with our community!
Local Listings | | MiriamEllis1 -
How Does Google Consider a Business Name as Duplicate?
Hi, A problem about local business listings of one of my clients is confusing to me! The correct business name is: "Thomas Frank, DDS" This is how his business name appears in different local business listing sites: Dr Thomas W Frank, DDS Dr. Thomas Frank DDS Frank Thomas DDS Cosmetic Implant Laser Dentistry Frank Thomas W DDS ,... Do you think Google assumes these business names duplicate and wrong and they need to be updated by me? Which ones exactly? Or they are OK and it won't result to increase in his ranks? I should mention that everything else in his listings are OK but the business name. Thank you in advance for your kind helps,
Local Listings | | alihus0 -
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 -
Does anyone know of a Google My Business reporting dashboard that shows impressions and clicks in bulk?
Right now, it appears the only way to access reporting data is by clicking on each individual location and then navigating to insights. We're managing nearly 300 different locations and need a tool that makes it easier to retrieve performance data.
Local Listings | | Deluxe0 -
Does anybody have any data on what percentage of people actually click on a Google Places / Google+ listing VS call the business direct from the SERPs?
I've had a few SMB clients who have experienced drops in website traffic once their Google Places listing has gone live. It's hard for the average SMB to understand that this may not be a bad thing because they actually may be received more leads direct from the local SERPs. So while I can try to explain this to my clients, it'd be nice to have some broad data on how searchers interact with Google local listings. I'd love to learn what percentage of people call direct from the SERPs instead of clicking through to the business' website link. Obviously, the percentages would vary across different verticals, different devices & depending on whether the search query was branded or non-branded. I'm after some rough average data, so if anyone could point me in the right direction, that'd be great! 🙂
Local Listings | | Dave_Eddy0