#55020 closed defect (bug) (wontfix)
role="navigation" missing from nav element produced with the_posts_pagination
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Priority: | normal | |
| Severity: | normal | Version: | |
| Component: | General | Keywords: | |
| Focuses: | Cc: |
Description (last modified by )
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')) ); ?>
Change History (2)
Note: See
TracTickets for help on using
tickets.
Sorry just saw that this seems to be intended change. https://make.wordpress.org/core/2022/01/04/miscellaneous-core-changes-in-wordpress-5-9/