Make WordPress Core

Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#55020 closed defect (bug) (wontfix)

role="navigation" missing from nav element produced with the_posts_pagination

Reported by: hannu_h's profile hannu__h Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: General Keywords:
Focuses: Cc:

Description (last modified by sabernhardt)

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)

#1 @hannu__h
4 years ago

  • Resolution set to wontfix
  • Status changed from new to closed

#2 @sabernhardt
4 years ago

  • Description modified (diff)
  • Milestone Awaiting Review deleted

Thanks for reporting and for following up! Yes, the change was intentional :)

Note: See TracTickets for help on using tickets.