Sha256: a41ec53a80466b6dba99d1c786b356c0a2fcb14c91962c871b8ac4da1cc84205
Contents?: true
Size: 1.22 KB
Versions: 17
Compression:
Stored size: 1.22 KB
Contents
name: Cookie banner description: Help users manage their personal data by telling them when you store cookies on their device. body: | Setting `data-hide-cookie-banner="true"` on any link inside the banner will overwrite the default action and when clicked will dismiss the cookie banner for a period of 365 days (approx. 1 year). If the examples below are not showing the banner, make sure the `cookies_preferences_set` cookie is not present or is set to false. accessibility_criteria: | Text in the cookie banner must be clear and unambiguous and should provide a way to dismiss the message. Links in the component must: - accept focus - be focusable with a keyboard - indicate when they have focus accessibility_excluded_rules: - 'duplicate-id' # a banner should have a unique id for a given page. However, this page contains multiple examples of the banner with the same id. examples: default: data: {} with_custom_text: data: text: "This is some custom text in my cookie banner which lets users know what we're using cookies for. I can also include a link to the <a class='govuk-link' href='/cookies'>cookies page</a>" with_custom_cookie_preferences_href: data: cookie_preferences_href: "/cookies"
Version data entries
17 entries across 17 versions & 1 rubygems