[wp-trac] [WordPress Trac] #55020: role="navigation" missing from nav element produced with the_posts_pagination

WordPress Trac noreply at wordpress.org
Tue Feb 1 07:05:33 UTC 2022


#55020: role="navigation" missing from nav element produced with
the_posts_pagination
--------------------------+-----------------------------
 Reporter:  hannu__h      |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 Upgrade from 5.8.3 to 5.9 and the role="navigation" is missing from nav
 elements which are produced with the_posts_pagination function.

 This causes CSS styles break which are defined with
 nav[role="navigation"].

 Example of the_posts_pagination:

 <?php the_posts_pagination( array('screen_reader_text' => __('More
 articles', 'nnn_theme'), 'type' => 'list', 'prev_text' => __('Previous
 page', 'nnn_theme'), 'next_text' => __('Next page', 'nnn_theme')) ); ?>

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/55020>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list