From 057251b38317015e3ffa2330fb7762fd03b9bbeb Mon Sep 17 00:00:00 2001 From: Colin Rotherham Date: Thu, 6 Jul 2023 17:57:37 +0100 Subject: [PATCH 1/7] Clarify Accordion mutually exclusive options This change follows the newer content pattern used by Task List options --- src/govuk/components/accordion/accordion.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/govuk/components/accordion/accordion.yaml b/src/govuk/components/accordion/accordion.yaml index 18639160e3..5866f64250 100644 --- a/src/govuk/components/accordion/accordion.yaml +++ b/src/govuk/components/accordion/accordion.yaml @@ -51,27 +51,27 @@ params: - name: heading.text type: string required: true - description: The title of each section. If `heading.html` is supplied, this is ignored. + description: If `html` is set, this is not required. The heading text of each section. If `html` is provided, the `text` option will be ignored. - name: heading.html type: string required: true - description: The HTML content of the header for each section. Used as the title for each section. The header is inside the HTML `