@financial-times/o-cookie-message
Version:
The cookie message and behaviour approved by the FT's legal team. All FT websites must have a cookie message. Using o-cookie-message will ensure your site is compliant according to EU regulatory law.
59 lines (58 loc) • 2.05 kB
JSON
{
"origamiType": "component",
"origamiVersion": "2.0",
"brands": [
"core"
],
"support": "https://github.com/Financial-Times/origami/issues/new?labels=o-cookie-message,components",
"supportContact": {
"email": "origami.support@ft.com",
"slack": "financialtimes/origami-support"
},
"supportStatus": "active",
"browserFeatures": {
"required": [
"Element.prototype.classList",
"Element.prototype.append",
"Object.assign"
]
},
"demosDefaults": {
"sass": "demos/src/demo.scss",
"documentClasses": "",
"js": "demos/src/demo.js"
},
"demos": [
{
"title": "Approved Cookie Banner",
"name": "cookie-message",
"template": "demos/src/cookie-message.mustache",
"description": "This cookie banner should be used across all FT products and contains links back to the FT's cookie policy. The copy in the banner has been approved by the FT's legal team."
},
{
"title": "Approved Alternative Cookie Banner",
"name": "alternative-cookie-message",
"template": "demos/src/alternative-cookie-message.mustache",
"description": "This cookie banner is a visual variant on the approved version for all FT products and contains links back to the FT's cookie policy. The copy in the banner has been approved by the FT's legal team."
},
{
"title": "Custom Cookie Message (content only)",
"name": "custom-html",
"template": "demos/src/custom-html.mustache",
"description": "You may customise the content of the Financial Times cookie message by providing markup as a child of the cookie message element."
},
{
"title": "Custom Cookie Message (full)",
"name": "custom-html-full",
"template": "demos/src/custom-html-full.mustache",
"description": "You may provide a core experience (without JavaScript) or customise the content and links of the Financial Times cookie message by providing markup as a child of the cookie message element."
},
{
"title": "Pa11y",
"name": "pa11y",
"template": "/demos/src/pa11y.mustache",
"hidden": true,
"description": ""
}
]
}