disclosure-accordion organism experimental A stacked set of native expand/collapse disclosures for legal and policy text.
The width preview needs a screen wider than the chosen width — use a larger device (or a desktop browser) to see the desktop and tablet layouts.
We use essential cookies to keep the site working and optional analytics cookies to understand how it is used. You can change your choice at any time from the footer.
We share limited data with the processors that host and secure the service. We never sell your personal information.
You can request access to, correction of, or deletion of your personal data. Contact our privacy team and we will respond within 30 days.
Our standard data processing agreement governs how we handle personal data on your behalf, including sub-processors and international transfers.
We keep account data for the life of the account and for 90 days after closure, then delete or anonymise it.
Data is encrypted in transit and at rest. Access is restricted to staff who need it and is logged and reviewed.
legal/disclosure-accordionname: "Disclosure Accordion"
short_description: A stacked set of native expand/collapse disclosures for legal and policy text.
long_visual_description: >
A bordered, rounded card divided into rows. Each row is a native HTML disclosure: a summary line
with the title in the heading face and a chevron on the trailing edge that rotates when open, over
an expanded body of muted rich text. Rows are separated by hairline dividers. Any disclosure can
start expanded; the rest stay collapsed until the reader opens them.
use_cases:
- Cookie and tracking disclosures on a consent page.
- Sectioned privacy policy or terms broken into expandable clauses.
- Data-processing and sub-processor disclosures.
- Regulatory or financial risk disclosures kept out of the main flow.
- Accessibility statement grouped by topic.
- A "your rights" panel with each right as its own disclosure.
recommended_for:
- Long legal or policy copy the reader scans rather than reads end to end.
- Rich-text bodies (paragraphs, lists, links) that need to collapse.
avoid_for:
- A short FAQ with plain answers (use faq-accordion).
- Interactive form steps (use a wizard or multi-step form).
markets:
- Global
example_usage: >
Pass an items array where each item has a title and body_html (raw HTML for the expanded content).
Set open true on the disclosures that should be visible on load — typically the most important or
legally required one. Each row is a native details/summary, so it toggles with no JavaScript and
works in print and with the keyboard.
props:
items: "The disclosures, in order. Each item: title (summary label), body_html (raw HTML body), open (optional boolean to start expanded)."
lifecycle: experimental
content_model: A list of titled disclosures, each with a raw-HTML body and an optional initial-open state.
theming:
tokens_used:
- --color-surface
- --color-on-surface
- --color-on-surface-muted
- --color-border
- --radius-card
- --space-card
- --duration-token
- --font-heading
editorial_guidance: >
Title each disclosure with the topic a reader is looking for, not a clause number. Keep bodies
self-contained. Start only the essential disclosure open so the panel stays scannable.
relationships:
related:
- marketing/faq-accordion
- legal/terms-section
categorization:
category: Legal & Compliance
subcategory: Disclosures
atomic_type: organism
usage_type: [list, disclosure]
maturity: ai-generated
wcag:
level: AA
notes: Built on native details/summary, so expand/collapse is keyboard-operable and announced without scripting; the chevron is aria-hidden.
keyboard_support: Each summary is focusable and toggles its disclosure on Enter/Space (native details behaviour).
seo_score: 45
text_direction: both
| Name | Type | Req |
|---|---|---|
| items | array | ✓ |