[wp-trac] [WordPress Trac] #63581: paginate_links: The current page should be an a element, not a span element

WordPress Trac noreply at wordpress.org
Tue Jul 15 15:33:29 UTC 2025


#63581: paginate_links: The current page should be an a element, not a span element
-----------------------------------+------------------------------
 Reporter:  wildworks              |       Owner:  (none)
     Type:  defect (bug)           |      Status:  new
 Priority:  normal                 |   Milestone:  Awaiting Review
Component:  General                |     Version:
 Severity:  normal                 |  Resolution:
 Keywords:  2nd-opinion has-patch  |     Focuses:  accessibility
-----------------------------------+------------------------------

Comment (by joedolson):

 Screen readers will announce `aria-current` on a list item, it's just that
 you have to be reading the text, rather than navigating by tab. I question
 whether there's any benefit to a user to add the current page into the tab
 list.

 From a screen reader user standpoint, you navigate in reading mode if you
 want to discover information; and you're more likely to navigate by tab if
 you're specifically looking for an action to take. The current page is
 information, but it's very unlikely to be an action the user wants to
 take.

 If the pagination output was always consistent, containing the same links
 in all cases, then I'd think that having this present would be more
 important; but the pagination links change in every view, so they are
 never totally consistent.

 I think that adding a parameter that would support having this linked is
 fine; but I'm not convinced this is a problem that needs to be solved.
 Increasing the complexity by making this an additional option seems to
 have a pretty marginal benefit.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/63581#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list