Change record status: 
Project: 
Introduced in branch: 
8.7.x
Introduced in version: 
8.7.0
Description: 

Pagination header CSS id is now ensured to be unique to avoid generating invalid HTML. If you have overridden Classy or Stable pagination templates you will have to apply this change manually.

Previously rendered output was hardcoded like this:
<h4 id="pagination-heading" class="visually-hidden">{{ 'Pagination'|t }}</h4>

Now the id is rendered from heading_id variable:
<h4 id="{{ heading_id }}" class="visually-hidden">{{ 'Pagination'|t }}</h4>

Impacts: 
Themers

Comments

pminf’s picture

Please note, that you also have to change the attributes value of "aria-labelledby" to "{{ heading_id }}":

<nav class="pager pager-mini" role="navigation" aria-labelledby="{{ heading_id }}">
    <h4 id="{{ heading_id }}" class="visually-hidden">{{ 'Pagination'|t }}</h4>