[wp-trac] [WordPress Trac] #54260: Add accessible labels to pagination links

WordPress Trac noreply at wordpress.org
Wed May 24 05:57:50 UTC 2023


#54260: Add accessible labels to pagination links
---------------------------+-----------------------------
 Reporter:  michaelbourne  |       Owner:  (none)
     Type:  enhancement    |      Status:  reopened
 Priority:  normal         |   Milestone:  Future Release
Component:  General        |     Version:
 Severity:  normal         |  Resolution:
 Keywords:  has-patch      |     Focuses:  accessibility
---------------------------+-----------------------------

Comment (by webmandesign):

 I think adding a filter for `paginate_links()` `$args` would help in this
 case. See #53859

 Especially nowadays when building a block theme there is no way for me to
 change the HTML output of the Pagination block other than tweaking its
 HTML output (via `render_block` filter). This is not optimal and filtering
 the `$args` would provide more flexibility I think.

 (I am building accessibility ready themes, so I would like to improve the
 HTML output of pagination too.)

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


More information about the wp-trac mailing list