Cookie banner change history

Date Changed Description
Aug 2026 GOV.UK Frontend v6.5.0

Removed background colours for print.

Feb 2026 Guidance

Removed guidance about ‘default’ Cookie banner in page template.

Feb 2026 GOV.UK Frontend v6.0.0

Removed rebrand feature flag.

Jun 2025 Guidance

Added guidance on how the GOV.UK brand refresh impacts the Cookie banner component.

May 2025 GOV.UK Frontend v4.10.0

Changed background colour from grey to light blue for the GOV.UK brand refresh.

May 2025 GOV.UK Frontend v5.10.0

Changed background colour from grey to light blue for the GOV.UK brand refresh.

May 2025 Guidance

Removed guidance on changing spacing of buttons and links.

Apr 2024 GOV.UK Frontend v5.3.1

Changed background colour to be the GOV.UK Frontend ‘canvas’ colour rather than hard-coded grey.

Feb 2024 Guidance

Clarified scenarios for setting cookies.

Jan 2024 Guidance

Added guidance on not making the Cookie banner ‘sticky’ within your service in order to comply with WCAG 2.2.

Added guidance on not changing spacing of buttons and links in order to comply with WCAG 2.2.

Dec 2021 GOV.UK Frontend v4.0.0

Removed default font styles.

Added data-nosnippet HTML attribute to prevent cookie banner text appearing in search engine snippets.

May 2021 Guidance

Expanded guidance to be more detailed and accurate.

Advised service teams to audit the cookies they set before adding a cookie banner.

Added server-side cookie setting code examples.

May 2021 GOV.UK Frontend v3.12.0

Added links styled as buttons.

Feb 2021 Guidance

Added explanation for removing the visual focus indicator from the confirmation message.

Feb 2021 Guidance

Added legal disclaimer.

Feb 2021 GOV.UK Frontend v3.11.0

Component introduced.