Accordion Schema for YOOtheme Pro
In short: A checkbox in the Settings tab writes Schema.org/FAQPage as JSON-LD into the accordion's output, so you don't need an SEO plugin for it. Enter and Space operate the items, and you choose the title level from h1 to h6 or span. The element costs €5 per year including updates, net price, with VAT added at checkout by CopeCart.
- Schema.org/FAQPage as JSON-LD, switched on via checkbox, no extra SEO plugin needed
- Keyboard operation with Enter and Space, aria-expanded is updated on open and close
- Visible focus outline for keyboard users, suppressed on mouse click via :focus-visible
- Custom ARIA label per item, otherwise the title text without HTML is used automatically
- Title level freely selectable from h1 to h6 or span, for a clean heading hierarchy
- Two icons per item, one for closed and one for open, with a smooth transition
- Image, text and link per item, image above, below, left or right of the content
Annual license with updates & support - as a one-time purchase or subscription. A subscription renews automatically; a one-time purchase expires after 12 months.
- License term: 1 year
- Websites: Unlimited own projects
- Updates & support during the term
- Secure payment & invoice via CopeCart
- Digital product: the right of withdrawal expires once the download is provided.
Need Accordion Schema for another platform?
Tell me what you need it for. That shows me where another version is worth building.
You'll receive a confirmation email shortly. If nothing arrives within 15 minutes, not even in your spam folder, something went wrong on our end - please send your request again.
- Version
- 1.3.5
- Updated
- 28 Sept 2026
- Compatible with
- YOOtheme Pro 5 · Joomla
About this product
Accordion Schema is a builder element for YOOtheme Pro 4.x and 5.x on Joomla 5 and Joomla 6. It builds on the UIkit 3 accordion and adds two things the default one lacks: structured data following Schema.org and operation without a mouse. It includes two elements, the accordion and the item.
Schema.org/FAQPage as JSON-LD
A checkbox in the Settings tab switches on the structured data. The element then writes application/ld+json into its own output: a FAQPage node with one Question entry per accordion item, each with an acceptedAnswer of type Answer. Only items with a title and content are included, the answer text is stripped of HTML via strip_tags and protected against script injection with JSON_HEX_TAG. It generates FAQPage only, no QAPage. Since 2023, Google shows FAQ rich results only for government and health websites; the question-and-answer structure stays machine-readable anyway, including for AI assistants.
Accessibility built into the markup
Every accordion title gets role="button", tabindex="0" and aria-expanded. The bundled JavaScript updates aria-expanded on every open and close and handles Enter and Space, so the accordion is fully operable by keyboard. Focus stays visible: a 2-pixel outline with a 2-pixel offset, shown via :focus-visible to keyboard users only. You set a separate ARIA label per item, otherwise the title text without HTML serves as the label. Built to WCAG 2.1 AA, the standard behind the German Accessibility Strengthening Act (BFSG), the European Accessibility Act, EN 301 549 and BITV 2.0.
An item holds more than a question and an answer
Each item has a title, editor content, an image with alt text and a link. The image sits above, below, left or right of the text; side by side, a UIkit grid takes over with 15 width steps, its own gaps and a selectable breakpoint for wrapping. On top of that come 9 focal points for cropping, three border shapes, eager loading and inline SVG with 7 color roles. The link offers 8 styles from button to text link, three sizes, plus nofollow and noreferrer.
Styling questions and answers
The title offers 16 text styles, from Heading 3X-Large through h1 to h6 down to Meta and Lead. You place the icon on the left or right and optionally add a second one for the open state; the two crossfade in 0.3 seconds. The answer text can be styled as Lead or Meta, start with a drop cap and be split into 2 to 6 columns.
Behavior and technical details
Two switches control the behavior: several items open at once, and start with all items closed. Each item can render as a div, article or section, and a CSS field takes your own rules for .el-item, .el-title, .el-content, .el-image and .el-link. Title, content, icons, image and link are exposed as dynamic sources. The plugin loads CSS and JavaScript only when the element is on the page, with a version stamp against stale caches.
Frequently asked questions
Which versions does Accordion Schema work with?
With YOOtheme Pro 5 on Joomla 5 and 6, PHP 8.1 or later. The element is not available for WordPress.
What structured data does the element output?
Via checkbox, a FAQPage node as JSON-LD, with one question and answer per item. Only items with a title and content are included, and you don't need an extra SEO plugin.
Will this get me FAQ rich results on Google?
Probably not: since 2023, Google shows FAQ rich results only for government and health websites. The question-and-answer structure stays machine-readable anyway, including for AI assistants.
Can the accordion be operated by keyboard?
Yes. Enter and Space open and close the items, aria-expanded is updated along the way, and the focus outline is visible to keyboard users. It is built to WCAG 2.1 AA.
Does the title level fit my heading structure?
You choose it freely from h1 to h6 or as span. That keeps the page hierarchy clean.
How much does the license cost?
€5 per year plus VAT for an unlimited number of your own projects, with updates and support during the term. As a subscription it renews automatically, as a one-time purchase it ends after 12 months.
How do I get updates?
Through the Joomla update manager. Enter the download key from your customer account under System → Update Sites.
Reviews
- 22 Jul 2026
Sehr praktische Erweiterung. Einfach in der Installation und in der Handhabung.
Only customers who have purchased this product can review it.