Navigation Menu

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cookie page #13

Open
govuk-design-system opened this issue Jan 12, 2018 · 10 comments
Open

Cookie page #13

govuk-design-system opened this issue Jan 12, 2018 · 10 comments
Labels
pattern Goes in the 'Patterns' section of the Design System

Comments

@govuk-design-system
Copy link
Collaborator

govuk-design-system commented Jan 12, 2018

Use this issue to discuss the Cookies page guidance in the GOV.UK Design System

This pattern is related to the Cookie banner component

Anything else

@govuk-design-system govuk-design-system created this issue from a note in GOV.UK Design System Community Backlog (Agreed) Jan 12, 2018
@timpaul timpaul added pattern Goes in the 'Patterns' section of the Design System and removed candidate labels May 21, 2018
@StephenGill
Copy link

I wonder if we need a pattern for this, given that there's guidance in the service manual?

https://www.gov.uk/service-manual/technology/working-with-cookies-and-similar-technologies

@drewno-design
Copy link

Don't we have to give users an option to opt-out of cookies?

@NickColley
Copy link
Contributor

Hello @ralph-drewnowski,

In December 2019 the Government Digital Service (GDS) will run a discovery with organisations across government to explore how opt-in consent to cookies on GOV.UK would impact analytics.

After the discovery, GDS will update the Service Manual and GOV.UK Design System with relevant guidance or patterns.

For general guidance on cookies you can read:

Blog: Cookies – what does ‘good’ look like? (https://ico.org.uk/about-the-ico/news-and-events/news-and-blogs/2019/07/blog-cookies-what-does-good-look-like)

@titlescreen
Copy link

We didn't have a pattern so just put something together using the relevant parts from the design system. Whilst a patter might seem like a bit of overkill, I think anything we can do to make pages like this less painful is a good thing.

We could take this as an opportunity to include some same text, or provide some best practice in terms of what content could be included.

On a side note, I think this should be renamed to Cookies as that seems to be the convention, plus it could be a little misleading as we use more than one cookie.

https://www.claim-additional-teaching-payment.service.gov.uk/student-loans/cookies

image

@CharlotteDowns
Copy link

CharlotteDowns commented Jan 25, 2021

GOV.UK Design System working group review: Cookie page component

Representatives from the GOV.UK Design System working group reviewed this contribution in December 2020.

Based on a majority vote, the group decided that:

  • The contribution can be published as it is, although technical guidance and implementation were not included in the proposal.

They also made the following recommendations.

Guidance

  • Include guidance for what state the selections should be when users haven’t yet accepted or rejected cookies.
  • Include guidance for websites that use no cookies or essential cookies only.

Design

  • Consider using a cookie page example from another service.

Code

  • Clarify what the page behaviour is with or without javascript.
  • Clarify which cookies are essential and which fit into other categories, for example, functional.

Next steps

Based on this feedback, the GOV.UK Design System team have agreed to:

  • Update the cookie page example in the guidance.
  • Provide guidance on the states of the radio buttons before a user sets their cookie preferences.
  • Determine whether or not to use a success notification banner to provide a user with confirmation that their cookie preferences have been set.
  • We've decided to follow GOV.UK in classifying the cookie which remembers cookie preferences as 'essential' rather than 'functional' - because the site appears broken if we're not able to set that cookie.

@CharlotteDowns
Copy link

CharlotteDowns commented Feb 8, 2021

Release of cookie page

The cookie page pattern has been published in the Design System.

The cookie page pattern tells users about the cookies you’re setting on their device and lets them accept or reject different types of non-essential cookies.

This was developed together with the cookie banner component.

Problems to solve

We looked to:

  • help service teams to categorise different types of cookie
  • define behaviour if users don’t choose an option in the cookie banner
  • understand the experience for users who are not running JavaScript or for services that don’t set cookies
  • provide guidance to help users set their cookie preferences at any time
  • inform the user that their preferences and been set or changed

What we decided and what has changed

We decided:

  • to provide guidance on how to categorise cookies
  • to ask services to load the cookies page with radios set to ‘no’ on the user’s first visit. If the user has previously used the service and set their preferences, the page is loaded with those preferences selected
  • to ask services to display a different version of the cookies page if users are not running JavaScript
  • to ask services to link to the cookies page from the service footer
  • if a user updates their cookie preferences using the radios on the cookie page, use a notification banner component to confirm that their new settings have been saved

How you can help our ongoing user research

Share your research or feedback by commenting on this issue or propose a change – read more about how to propose changes in GitHub

@calvin-lau-sig7
Copy link

calvin-lau-sig7 commented May 20, 2021

We’ve made minor changes to this page to align with improved guidance on the cookie banner component.

Read about what we’ve changed.

@leekowalkowski-hmrc
Copy link

Minor terminology detail: The page talks about cookies 'set on the server'. All cookies are set on the client. A cookie can be set by a server (via the HTTP set-cookie response header) or by the client (via document.cookie using JavaScript), but not 'on the server'.

@martinwake
Copy link

The guidance to pre-select the "No" option on the consent radios if the user has not yet made a choice seems to contradict the rules for the radios component, which say:

Do not pre-select radio options

Might it be better to leave the radios blank but functionally assume non-consent until the user makes a choice? That seems to achieve the same goal of not setting optional cookies without explicit consent while also not changing existing practice on radios (which must be one of the most commonly used components across gov services).

@stevenjmesser
Copy link

We have removed the 'Experimental' tag from components, patterns, and guidance in the Design System. 😌

The tag was being used on the Cookies page pattern to raise awareness that more research is needed to validate it. However, we recently published new guidance on how to share findings from users which we hope will make it easier to collect and format more information about how the Design System is being used across services.

If your team has used this component please let us know. 💪

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pattern Goes in the 'Patterns' section of the Design System
Development

No branches or pull requests