[wp-trac] [WordPress Trac] #40833: Allow addition of aria-current="page" to current page element in paginate_links()
WordPress Trac
noreply at wordpress.org
Sun Sep 10 17:07:27 UTC 2017
#40833: Allow addition of aria-current="page" to current page element in
paginate_links()
-------------------------------------+-------------------------------------
Reporter: GrahamArmfield | Owner: afercia
Type: enhancement | Status: assigned
Priority: normal | Milestone: 4.9
Component: Themes | Version:
Severity: normal | Resolution:
Keywords: has-patch has- | Focuses: accessibility,
screenshots aria-current | administration
-------------------------------------+-------------------------------------
Comment (by afercia):
Worth noting when themes use markup like the following (example from
Twenty Fifteen):
{{{
<span aria-current="page" class="page-numbers current">
<span class="meta-nav screen-reader-text">Page </span>2
</span>
}}}
there's a bit of repetition because `aria-current="page"` makes screen
readers announce "Current page" and then they will read out also the
markup "Page 2". A very minor issue, considering the important feedback
given by `aria-current`.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/40833#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list