GOV.UK Frontend v5.4.1
To install this version with npm, run npm install [email protected]
. You can also find more information about how to stay up to date in our documentation.
Recommended changes
Update Breadcrumbs to use nav
and aria-label
We've made changes to the Breadcrumbs component to improve how it appears to screen readers.
We've changed the wrapping element to use the nav
tag to expose it as a navigational landmark, and added an aria-label
attribute to differentiate it as breadcrumb navigation.
This change was introduced in pull request #4995: Update Breadcrumb component to improve screen reader accessibility.
Fixes
We've made fixes to GOV.UK Frontend in the following pull requests:
- #5114: Fix divider width for small checkboxes – thanks to @colinrotherham
- #5043: Refactor the accordion JavaScript
- #5044: Remove session storage checks from accordion JavaScript
- #5060: Reintroduce additional bottom margin to Error Summary content
- #5070: Fix alignment of content in conditional checkboxes and radio buttons
- #5090: Remove redundant tag CSS from phase banner