FreeFeaturedFAQ
FAQ Accordion
Accessible accordion with auto-generated FAQPage schema.
#faq#accordion#schema#seo#accessibility
Live preview
See it in action.
Fully interactive, drag, click, scroll inside the frame, toggle to mobile.
About this section
A spec-compliant disclosure accordion using native <details>/<summary>. Auto-emits FAQPage JSON-LD for rich-result eligibility on Google. Block-driven content.
Install in 90 seconds
- 01
Create /sections/modblo-faq-accordion.liquid.
- 02
Paste the code and save.
- 03
Add the section, then add Question blocks.
The code
This is the file you'll paste into your theme.
modblo-faq-accordion.liquid
What you can customize
Every setting below shows up in the Shopify theme editor. Change them without touching code.
| Setting | Type | Default |
|---|---|---|
Eyebrow eyebrow | Text | FAQ |
Heading heading | Text | Questions, answered. |
Open first item open_first | Yes/No | true |
Background bg | Color picker | #ffffff |
Foreground fg | Color picker | #0b0b0c |
SEO and accessibility notes
- Emits valid schema.org FAQPage JSON-LD, eligible for rich results.
- Uses native <details>/<summary>, keyboard and screen-reader accessible by default.
- Strip-html'd answer text in JSON-LD prevents schema validation errors.
Related
