Shared publicly  - 
 
For schema.org microdata, should a "breadcrumb" itemprop declaration include only the linked portion of a breadcrumb trail, or can it include the current page as well?

I ask because breadcrumb display often includes not only parent pages, but the current page or section as well - unlinked. E.g.:
<div><a href="/">Home</a> | About us</div>

None of the schema.org examples include this common output (see graphic attached to this post).*

So what's the correct syntax?

Thanks for any thoughts on this, coders!

*Mini-rant: It would be nice if: a) Google et al. pulled some of their examples from real-life code, rather than idealized code, so that such use cases would be exposed; b) that when providing examples in different contexts new examples were employed, rather than using the same damn examples over and over again. ;)
2
Keith Greene's profile photoAlexander Farennikov's profile photoAaron Bradley's profile photo
4 comments
 
Well.. if you read the specification the Expected Type for "breadcrumb" is text, so it doesn't really matter if its a link or not. Semantically, a breadcrumb is really only a category marker and it shouldn't matter if its a link or not. In modern uses, it is hyperlinked for usability, but technically, it doesn't need to be linked for a human or bot to parse out the categorization structure. So, in a proper semantic use, you'd probably want to denote each <a> tag with the URL prop.

Jeez Aaron.. I would've thought you'd read through the entire schema specification already and marked semantic errors on your monitor with a red sharpie.
 
Thanks for that comment +Keith Greene - very helpful. My pedantry was misplaced. I was focused on the description ("A set of links") rather than what I should have been focused on - as per your comment - the expected type.

Ha - yeah, indeed I've been through the specification with a (virtual) marker, but as you've observed I'm very prone to sharpie operator error.
Add a comment...