[wp-trac] [WordPress Trac] #31315: _navigation_markup doesn't allow themes/plugins to customize template.
WordPress Trac
noreply at wordpress.org
Thu Feb 12 23:54:48 UTC 2015
#31315: _navigation_markup doesn't allow themes/plugins to customize template.
-------------------------------------+-----------------------------
Reporter: joedolson | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: normal | Keywords: has-patch
Focuses: accessibility, template |
-------------------------------------+-----------------------------
While the default template may be excellent for many themes, the use of an
additional landmark role generated by the <nav> element and the specific
use of an H2 element can lead to problems.
The problems related to two specific issues: first, a profusion of minor
navigation groupings referenced by landmarks can make navigation using
landmarks less useful. The specifications for the <nav> element note that
"the element is primarily intended for sections that consist of major
navigation blocks" (http://www.w3.org/TR/2011/WD-html5-author-20110705
/the-nav-element.html). While for a given site, this may constitute a
major navigation element (in purpose, if not in number of links), it's
certainly not going to be the case for all.
The second issue relates to headings hierarchies - the H2 heading may not
fit with the needs of a given design for providing an accurate hierarchy.
This is ultimately a very minor change; simply allowing authors the
possibility of changing the default templates in this function.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/31315>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list