Breadcrumbs do not validate as HTML5
-
I am using WordPress version 3.5.1
I am using WordPress SEO version 1.4.2
When I run my website through a validator, they always complain about the xhtml attributes in the breadcrumbs.
There is a microformat for breadcrumbs, found here: http://microformats.org/wiki/breadcrumbs-formats
Which would make the breadcrumbs something like this:
<div class="breadcrumbs" itemscope itemtype="http://data-vocabulary.org/Breadcrumb"> <a class="breadcrumb-link" href="/" itemprop="url"> <span itemprop="title">Home</span> </a> > <div itemprop="child" itemscope itemtype="http://data-vocabulary.org/Breadcrumb" style="display: inline;"> <a class="breadcrumb-link trail" href="/child" itemprop="url"> <span itemprop="title">Child</span> </a> > </div> </div>
The customers are requesting a lot of HTML5 valid codes with correct microformat use, so something like this would be nice to have as an option.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Breadcrumbs do not validate as HTML5’ is closed to new replies.