diff --git a/.htmlvalidate.json b/.htmlvalidate.json index 77b50c65..abdb6567 100644 --- a/.htmlvalidate.json +++ b/.htmlvalidate.json @@ -5,6 +5,7 @@ "close-order": "error", "form-dup-name": 0, "no-inline-style": 0, + "no-redundant-role": 0, "no-trailing-whitespace": 0, "void-style": 0 } diff --git a/src/nationalarchives/components/cookie-banner/fixtures.json b/src/nationalarchives/components/cookie-banner/fixtures.json index 1d4e7deb..66573bf8 100644 --- a/src/nationalarchives/components/cookie-banner/fixtures.json +++ b/src/nationalarchives/components/cookie-banner/fixtures.json @@ -7,7 +7,7 @@ "serviceName": "My service", "cookiesUrl": "/cookies" }, - "html": "", + "html": "", "hidden": false }, { @@ -17,7 +17,7 @@ "cookiesUrl": "/cookies", "cookiesPreferencesSetKey": "custom" }, - "html": "", + "html": "", "hidden": false }, { @@ -27,7 +27,7 @@ "cookiesUrl": "/cookies", "policies": "custom" }, - "html": "", + "html": "", "hidden": false }, { @@ -37,7 +37,7 @@ "cookiesUrl": "/cookies", "policiesKey": "custom_key" }, - "html": "", + "html": "", "hidden": false }, { @@ -47,7 +47,7 @@ "cookiesUrl": "/cookies", "cookiesDomain": "nationalarchives.gov.uk" }, - "html": "", + "html": "", "hidden": false }, { @@ -57,7 +57,7 @@ "cookiesUrl": "/cookies", "cookiesPath": "/my-service" }, - "html": "", + "html": "", "hidden": false }, { @@ -67,7 +67,7 @@ "cookiesUrl": "/cookies", "preferencesSetKey": "custom_preferences_set_key" }, - "html": "", + "html": "", "hidden": false }, { @@ -77,7 +77,7 @@ "cookiesUrl": "/cookies", "allowInsecure": true }, - "html": "", + "html": "", "hidden": false }, { @@ -87,7 +87,7 @@ "cookiesUrl": "/cookies", "classes": "tna-cookie-banner--fixture" }, - "html": "", + "html": "", "hidden": false }, { @@ -99,7 +99,7 @@ "data-fixturetest": "pass" } }, - "html": "", + "html": "", "hidden": false } ] diff --git a/src/nationalarchives/components/cookie-banner/template.njk b/src/nationalarchives/components/cookie-banner/template.njk index 4bd48697..b0b42618 100644 --- a/src/nationalarchives/components/cookie-banner/template.njk +++ b/src/nationalarchives/components/cookie-banner/template.njk @@ -1,7 +1,7 @@ {% from "nationalarchives/components/button/macro.njk" import tnaButton %} {%- set containerClasses = [params.classes] if params.classes else [] -%} -