[wp-trac] [WordPress Trac] #17632: HTML 5 Validation issues (theme independent)
WordPress Trac
wp-trac at lists.automattic.com
Thu Mar 29 22:45:07 UTC 2012
#17632: HTML 5 Validation issues (theme independent)
--------------------------+------------------------------
Reporter: amirhabibi | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 3.1.3
Severity: normal | Resolution:
Keywords: has-patch |
--------------------------+------------------------------
Comment (by WraithKenny):
The code from note (3) was to because the spec for rel-tag disallows query
vars `?tag=foo` allowing for `/tag/foo/` only, hence the using_permalinks
check.
7 years ago, when the rel-category and rel-tag where added, it was likely
only to match WordPress' Tags and Categories. The `rel-tag` spec and the
html5 spec (which are much newer I think) seem to intend rel-tag to mean
"taxonomy" which applies equally to Tags and Categories, which makes
rel=category obsolete.
I understand your concern about how rel-tag is used on homepages: the
linked tag should not apply to the homepage "document" (in the html
document sense). This is how it currently exists "in the wild" though and
I think this patch wouldn't really affect that one way or the other.
The issue of this ticket is a somewhat different, and more narrow, thing:
the rel-category being obsolete and invalid in html5.
Whether rel-tag is appropriate on the homepage (in html5), likely deserves
it's own ticket, and even better, a discussion at the
WC3/WHATWG/Microformats.org. For example, perhaps their definition can be
adjusted to reflect that multiple html5 article elements (which are
distinct by the spec's definition I think) can be present in a single
valid html5 document.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/17632#comment:15>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list