How to Add a FAQ Accordion to Squarespace
Start with the native Accordion block. You can maintain questions inside the editor without buying a plugin or managing code. Choose a custom block only when you specifically want to own and edit the HTML.
Add the native block
- Edit your page, choose Add block, then Accordion.
- Open the pencil control. In Content, replace the sample titles and descriptions with your real questions and answers.
- Use Design for text, dividers, icons, spacing, and open-item settings. Save the page.
Squarespace's Accordion documentation describes the available settings. This is the route to use when a client or teammate needs to edit answers visually.
Decide whether custom code is useful
A custom accordion gives you a snippet you can keep in source control and reuse. It also gives you responsibility for content changes, styling conflicts, and checking the published result. It is not automatically faster or more accessible than the native block.
Our FAQ Accordion Generator offers three presets and a live preview. Customization is free; the complete accordion export costs $11.99 once for personal use. The optional FAQ JSON-LD export is free. Commercial licenses and packs have separate terms.
The generator supports plain-text questions and answers. If you need links, formatted answers, or direct editing in Squarespace, use the native block or maintain your own HTML.
A free HTML starting point
HTML's details and summary elements provide disclosure behavior without a JavaScript library. The example below is instructional content, not a fictional business policy. Read the element documentation.
What should an FAQ answer include?
A direct answer, the conditions that apply, and a useful next step.
<details>
<summary>What should an FAQ answer include?</summary>
<p>A direct answer, the conditions that apply, and a useful next step.</p>
</details>Paste this into an HTML Code block with Display Source turned off, then replace the content. Escape reserved characters when editing HTML: write < for a literal less-than sign and & for an ampersand.
Install a generated accordion
- Enter complete questions and answers in the generator. Remove unused rows and review the preview.
- Choose your preset, icon color, and open-item behavior. The speed control changes the icon transition; it does not animate answer height.
- Check your Squarespace plan before purchase. JavaScript in Code blocks currently requires Core, Plus, or Advanced. Check support for a legacy plan separately.
- Copy the complete export into one HTML Code block on the relevant page. Turn Display Source off and replace an older export instead of stacking duplicate copies.
- Save and open the published page while signed out. If JavaScript is unavailable, the answers still open, but several may remain open together.
Squarespace documents Code block placement, plan limits, and editor preview behavior. An editor preview alone is not evidence that an installation works for visitors.
Check the actual page
- Open and close every answer using a keyboard and a pointer. Make sure focus remains visible.
- Read the longest answer at a narrow phone width and increased text size. Look for cut-off text and horizontal scrolling.
- Check that opening an answer in one accordion does not change another accordion on the page.
- Review text and icon contrast, reduced-motion behavior, and a screen reader where available. Native HTML is a starting point, not an accessibility certification.
- Keep a copy of the installed snippet. Update the full block when your policies change.
Keep optional schema on the matching page
Do not place page-specific questions in a sitewide footer. If you choose to publish FAQPage JSON-LD, it should describe the answers visitors can read on that page. Inspect existing markup, avoid duplicate descriptions, and validate syntax with the Schema.org validator.
The JSON-LD guide explains page-level placement and the limits of structured data. No FAQ plugin or schema export guarantees rankings or AI citations.
Preview a custom FAQ accordionNeed help choosing the questions? Read how to write a useful FAQ section.