diff --git a/CHANGELOG.md b/CHANGELOG.md index a618a1c699..d715ef2476 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -248,6 +248,16 @@ If you need to maintain the existing behaviour, you can set the value to an empt This change was introduced in [pull request #3773: Omit the value attribute from select options with no value](https://github.com/alphagov/govuk-frontend/pull/3773). +### Suggested changes + +#### Update the Pagination component's default `aria-label` + +The default value of the Pagination component's `aria-label` has been updated to be more descriptive of the contents of the region. If you are using the component's default label, you may wish to update it to the new value. + +You don't need to change anything if you're using the `govukPagination` Nunjucks macro. + +This change was introduced in [pull request #3899: Update default `aria-label` in Pagination component](https://github.com/alphagov/govuk-frontend/pull/3899). + ### Fixes We’ve made fixes to GOV.UK Frontend in the following pull requests: diff --git a/packages/govuk-frontend/src/govuk/components/pagination/pagination.yaml b/packages/govuk-frontend/src/govuk/components/pagination/pagination.yaml index b8b93d691a..825947c5f2 100644 --- a/packages/govuk-frontend/src/govuk/components/pagination/pagination.yaml +++ b/packages/govuk-frontend/src/govuk/components/pagination/pagination.yaml @@ -73,7 +73,7 @@ params: - name: landmarkLabel type: string required: false - description: The label for the navigation landmark that wraps the pagination. Defaults to 'results'. + description: The label for the navigation landmark that wraps the pagination. Defaults to 'Pagination'. - name: classes type: string required: false diff --git a/packages/govuk-frontend/src/govuk/components/pagination/template.njk b/packages/govuk-frontend/src/govuk/components/pagination/template.njk index a1bcdb1c10..5844030562 100644 --- a/packages/govuk-frontend/src/govuk/components/pagination/template.njk +++ b/packages/govuk-frontend/src/govuk/components/pagination/template.njk @@ -1,6 +1,6 @@ {% set blockLevel = not params.items and (params.next or params.previous) %} -