By pasan.gamage on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
8.7.x
Introduced in version:
8.7.0
Issue links:
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
Don't forget aria-labelledby
Please note, that you also have to change the attributes value of "aria-labelledby" to "{{ heading_id }}":