Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update accordion macros about summary line change #2313

Merged
merged 1 commit into from
Nov 11, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/govuk/components/accordion/accordion.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,19 +23,19 @@ params:
- name: heading.text
type: string
required: true
description: The title of each section. If `heading.html` is supplied, this is ignored. This is used both as the title for each section, and as the button to open or close each section.
description: The title of each section. If `heading.html` is supplied, this is ignored.
hannalaakso marked this conversation as resolved.
Show resolved Hide resolved
EoinShaughnessy marked this conversation as resolved.
Show resolved Hide resolved
- name: heading.html
type: string
required: true
description: The HTML content of the header for each section which is used both as the title for each section, and as the button to open or close each section.
description: The HTML content of the header for each section. Used as the title for each section. The header is inside the HTML `<button>` element, so you can only add [phrasing content](https://html.spec.whatwg.org/#phrasing-content) to it.
- name: summary.text
type: string
required: false
description: Text content for summary line. If `summary.html` is supplied, this is ignored.
- name: summary.html
type: string
required: false
description: HTML content for summary line.
description: The HTML content for the summary line. The summary line is inside the HTML `<button>` element, so you can only add [phrasing content](https://html.spec.whatwg.org/#phrasing-content) to it.
- name: content.text
type: string
required: true
Expand Down