[wp-trac] [WordPress Trac] #51455: Add theme support to make tag cloud widget output list of links wrapped within a <nav> element
WordPress Trac
noreply at wordpress.org
Fri Oct 16 18:31:09 UTC 2020
#51455: Add theme support to make tag cloud widget output list of links wrapped
within a <nav> element
--------------------------------------+-----------------------------
Reporter: audrasjb | Owner: SergeyBiryukov
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 5.6
Component: Widgets | Version:
Severity: normal | Resolution: fixed
Keywords: needs-dev-note has-patch | Focuses: accessibility
--------------------------------------+-----------------------------
Changes (by SergeyBiryukov):
* owner: (none) => SergeyBiryukov
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"49177" 49177]:
{{{
#!CommitTicketReference repository="" revision="49177"
Accessibility: Widgets: Conditionally wrap the tag cloud widget in a
`<nav>` element.
If the theme declares support for the `html5` feature `navigation-
widgets`, the tag cloud widget is now wrapped in a `<nav>` element to
improve semantics and accessibility.
The `<nav>` elements are native landmark regions, which helps assistive
technology users to navigate through them.
Follow-up to [48349] for other widgets.
Props audrasjb, justinahinon, ravipatel.
Fixes #51455. See #48170.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/51455#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list