GOV.UK header Change history

Date Changed Description
Jun 2026 Guidance

Added guidance to use the Generic header component if your service is not part of GOV.UK.

Jun 2026 GOV.UK Frontend v6.2.0

Fixed logo link hover state in Safari browsers.

Feb 2026 GOV.UK Frontend v6.0.0

Removed rebrand parameter to no longer allow use of the previous GOV.UK logo and colour palette.

Changed containing HTML element from header to div.

Changed naming of the GOV.UK logo link class.

Removed parameters for setting service name and navigation.

Removed useTudorCrown parameter so that only the Tudor crown logo can be used.

Feb 2026 Guidance

Updated guidance on service name and navigation to recommend using Service navigation to show these in your service.

Jan 2026 GOV.UK Frontend v5.14.0

Fixed GOV.UK branded blue background being visible when printed.

Jun 2025 Guidance

Added before and after examples of the GOV.UK brand refresh to show what services should aim to look like.

Jun 2025 GOV.UK Frontend v4.10.1

Updated the GOV.UK logo SVG to fix some imperfections visible at high zoom levels.

Jun 2025 GOV.UK Frontend v5.11.0

Updated the GOV.UK logo SVG to fix some imperfections visible at high zoom levels.

May 2025 GOV.UK Frontend v4.10.0

Changed the GOV.UK logo and background colour for the GOV.UK brand refresh.

Removed the bottom border and overall height.

May 2025 GOV.UK Frontend v5.10.2

Fixed line break issues with the GOV.UK logo.

May 2025 GOV.UK Frontend v5.10.0

Changed the GOV.UK logo and background colour for the GOV.UK brand refresh.

Removed the bottom border and overall height.

May 2025 Guidance

Removed some WCAG 2.2-related guidance.

Mar 2025 Guidance

Deprecated service name and navigation options, which we’ll eventually remove.

Aug 2024 Guidance

Renamed ‘Header’ component to ‘GOV.UK header’ component.

Apr 2024 Guidance

Removed guidance on updating the crown logo to use the Tudor crown as the transition period had ended.

Mar 2024 GOV.UK Frontend v5.3.0

Removed redundant role="banner" attribute.

Feb 2024 GOV.UK Frontend v3.15.0

Updated the GOV.UK logo to reflect the changing of the monarch.

Feb 2024 GOV.UK Frontend v4.8.0

Updated the GOV.UK logo to reflect the changing of the monarch.

Feb 2024 GOV.UK Frontend v5.1.0

Updated the GOV.UK logo to reflect the changing of the monarch.

Updated minimum height of the mobile navigation menu button to 24px to make the touch target larger to improve accessibility of the menu button.

Jan 2024 Guidance

Added guidance on not making the Header component or header elements ‘sticky’ on the user’s screen in order to comply with WCAG 2.2.

Added guidance on presenting links persistently in order to comply with WCAG 2.2.

Dec 2023 GOV.UK Frontend v5.0.0

Changed the GOV.UK logo to combine the ‘GOV.UK’ logotype into a single SVG with the crown.

Removed the fallback crown logo PNG.

Removed deprecated govuk-header__navigation--no-service-name class.

Jan 2023 GOV.UK Frontend v4.5.0

Fixed colour of active navigation item when printing the page.

Removed unused classList polyfill from the component JavaScript.

Nov 2022 GOV.UK Frontend v4.4.0

Updated the header Nunjucks macro to translate the text of the mobile navigation menu toggle button by using the menuButtonText parameter.

Aug 2022 GOV.UK Frontend v4.3.0

Added hidden to the mobile menu button before JavaScript loads and when the user is on the ‘desktop’ media query.

Jun 2022 GOV.UK Frontend v4.2.0

Replaced deprecated govuk-header__link--service-name class with govuk-header__service-name.

Fixed service names becoming an empty link if no serviceUrl was provided.

May 2022 GOV.UK Frontend v4.1.0

Fixed product name hover and focus states on desktop.

Dec 2021 GOV.UK Frontend v4.0.0

Updated the navigation HTML to improve the screen reader experience.

Fixed crown logo fallback PNG to not be picked up by screen readers in Chrome.

Fixed mobile navigation menu to not show a bottom border on the last item.

Jun 2021 GOV.UK Frontend v3.13.0

Fixed alignment of the fallback crown logo PNG with ‘GOV.UK’ text.

May 2021 GOV.UK Frontend v3.12.0

Updated menu button’s cursor styling from default to pointer.

Sept 2020 GOV.UK Frontend v3.9.1

Fixed navigation links not being announced by screen readers.

Sept 2020 GOV.UK Frontend v3.9.0

Added option to set navigation section aria-label text.

Added option to add navigation items without links.

Added functionality to set aria-expanded and aria-hidden attributes on navigation menu and menu button when page loads.

Changed default menu button label from ‘Show or Hide Top Level Navigation’ to ‘Show or hide navigation menu’.

Changed default navigation menu label from ‘Top Level Navigation’ to ‘Navigation menu’.

Jun 2020 GOV.UK Frontend v3.7.0

Added the option to pass HTML to a navigation item.

Oct 2019 GOV.UK Frontend v3.3.0

Fixed height and alignment issue in Chrome 76 and later.

Removed unnecessary role="button" from the mobile menu button as the HTML5 button element has the role of button already.

Jul 2019 GOV.UK Frontend v3.0.0

Updated the CSS class name from js-header-toggle to govuk-js-header-toggle.

Updated the serviceName description.

Jun 2019 GOV.UK Frontend v2.13.0

Updated the crown logo to set height and width attributes and align better with the ‘GOV.UK’ text in Internet Explorer 8.

May 2019 GOV.UK Frontend v2.12.0

Prevented the crown’s fallback PNG image from being downloaded when not needed in Internet Explorer and Edge.

Jan 2019 GOV.UK Frontend v2.6.0

Added gutters to ensure the Header lines up with the grid properly.

Fixed centering of the component’s container in Internet Explorer 8.

Oct 2018 GOV.UK Frontend v2.2.0

Fixed an issue with the product name wrapping by adding display:inline-table to the product name element.

Sept 2018 GOV.UK Frontend v2.1.0

Fixed mobile menu button unintentionally submitting forms by explicitly setting the type attribute to button.

Adding passing additional attributes to links within the Header.

Jul 2018 GOV.UK Frontend v1.2.0

Updated logo to only show an underline on hover when users override colours in their browser.

Jul 2018 GOV.UK Frontend v1.1.0

Changed alignment to use float styling to fix an issue with whitespace.

Jun 2018 GOV.UK Frontend v1.0.0

Component introduced.