From d98ef4b7d08322a33f5afb6b812a4f4f4e1941c6 Mon Sep 17 00:00:00 2001 From: Owen Jones Date: Thu, 26 Sep 2024 09:44:42 +0100 Subject: [PATCH] Give details parent group role and summary element button role --- .../govuk-frontend/src/govuk/components/details/template.njk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/govuk-frontend/src/govuk/components/details/template.njk b/packages/govuk-frontend/src/govuk/components/details/template.njk index 6f80541e90..22b11a817d 100644 --- a/packages/govuk-frontend/src/govuk/components/details/template.njk +++ b/packages/govuk-frontend/src/govuk/components/details/template.njk @@ -1,9 +1,9 @@ {% from "../../macros/attributes.njk" import govukAttributes -%} -
- + {{ params.summaryHtml | safe | trim | indent(6) if params.summaryHtml else params.summaryText }}