diff --git a/src/govuk/components/accordion/accordion.yaml b/src/govuk/components/accordion/accordion.yaml index 18639160e3..5fb4a973a5 100644 --- a/src/govuk/components/accordion/accordion.yaml +++ b/src/govuk/components/accordion/accordion.yaml @@ -48,30 +48,45 @@ params: required: true description: An array of sections within the accordion. params: - - name: heading.text - type: string + - name: heading + type: object required: true - description: The title of each section. If `heading.html` is supplied, this is 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 `