[wp-trac] [WordPress Trac] #48170: Switch link list widgets to nav blocks
WordPress Trac
noreply at wordpress.org
Mon Jul 6 20:42:29 UTC 2020
#48170: Switch link list widgets to nav blocks
---------------------------------------------+----------------------------
Reporter: joedolson | Owner: audrasjb
Type: enhancement | Status: closed
Priority: normal | Milestone: 5.5
Component: Widgets | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch needs-dev-note commit | Focuses: accessibility
---------------------------------------------+----------------------------
Changes (by afercia):
* status: accepted => closed
* resolution: => fixed
Comment:
In [changeset:"48349" 48349]:
{{{
#!CommitTicketReference repository="" revision="48349"
Accessibility: Widgets: Add theme support to make widgets output list of
links wrapped within a `<nav>` element.
Widgets that output list of links can now be wrapped within `<nav>`
elements to improve semantics and accessibility.
The `<nav>` elements are also native landmark regions, which helps
assistive technology users to navigate through them. Themes can opt-in to
this new behavior by declaring support for the new `html5` feature
`navigation-widgets`.
Props joedolson, simonjanin, audrasjb, afercia.
Fixes #48170.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/48170#comment:29>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list