Accordion
A vertically stacked set of headings that progressively reveals related sections.
- Also known as
- Collapsible sections, Expansion panels, Content accordion
- AI prompt
Create an accessible accordion for several related content sections. Make the whole heading control selectable, use buttons inside appropriate heading elements, show a consistent expanded indicator, preserve a logical tab order, and ensure content is available if JavaScript fails.
Contextual help disclosure
A nearby explanation revealed for users who need extra guidance.
- Also known as
- Help expander, Field guidance, Learn more disclosure
- AI prompt
Add an inline contextual-help disclosure beside a field label. Give the trigger an explicit text label, reveal concise guidance adjacent to the field, connect state with aria-expanded and aria-controls, and keep required instructions permanently visible rather than hidden.