[wp-trac] [WordPress Trac] #41859: Add aria-current to the paginated posts links output by wp_link_pages()
WordPress Trac
noreply at wordpress.org
Fri Jan 12 20:16:58 UTC 2018
#41859: Add aria-current to the paginated posts links output by wp_link_pages()
------------------------------------+----------------------------
Reporter: afercia | Owner: afercia
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 5.0
Component: Themes | Version:
Severity: normal | Resolution: fixed
Keywords: aria-current has-patch | Focuses: accessibility
------------------------------------+----------------------------
Changes (by afercia):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"42440"]:
{{{
#!CommitTicketReference repository="" revision="42440"
Accessibility: use `aria-current` for the paginated post links output by
`wp_link_pages()`.
Continues the introduction in core of the aria-current attribute after
[41683], [41359], and [41371].
- changes the `wp_link_pages()` (see the `nextpage` quicktag) output to
use an `aria-current` attribute on the current item
- adds `post-nav-links` and `post-page-numbers` CSS classes to help themes
style these links
- updates the related tests
Props antonioeatgoat, alexstine.
Fixes #41859.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/41859#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list