In a recent project, I had a
mailto: link in the navigation menu and by default, WordPress spits out
itemprop="url" in the menu item. This causes a schema error because this clearly isn’t a url; it’s an email link.
If you were going to make the
itemprop="url", then you wouldn’t have
mailto: in it, which is how you have to do it in WordPress and easy of use for the client. So in this instance, I had to make the
itemprop blank. No more errors!
Shout out to @genesisdeveloper for pointing me in the right direction for this one.
If you are using the Genesis Framework, you can change all of the attributes the framework uses. Learn how to change Itemtype, Itemscope, and other schema attributes in Genesis.