All productsForm Builder€39 per yearDropdown Menu€5 per year
Element for YOOtheme Pro

Accordion Schema for YOOtheme Pro

5.0 out of 5 · 1 review

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
€5per year, plus VAT

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.
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

  • Anonym22 Jul 2026

    Sehr praktische Erweiterung. Einfach in der Installation und in der Handhabung.

Only customers who have purchased this product can review it.

Which system?

Your license covers both systems - you can download the other package at any time.

What has changed

Accordion Schema

All documented versions, newest first.

  1. 1.3.5
    Fixed
    • With the "right" alignment, the icon sits at the right edge again.
    • Several accordions with FAQ schema on one page now produce a single shared FAQPage block that Google reads without errors.
  2. 1.3.4
    Security
    • Security fix: Custom CSS and a dynamically filled element ID could load external stylesheets or break out of the style block. These values are now checked before output and discarded if necessary.
    Fixed
    • The accordion title is now a real button. Screen readers announce it correctly, the space bar toggles it exactly once again, and the content area gets the ID the title refers to.
  3. 1.3.3
    Security
    • Security fix: Link fields let schemes such as "javascript:" through when they were preceded by control characters disguised as HTML entities. With dynamically bound links, this allowed script execution.
  4. 1.3.2
    Security
    • Security fix: Link fields let schemes disguised as HTML entities (such as "javascript:") through. With dynamically bound links, this allowed script execution.
  5. Versions without an entry
    1.3.0
    New
    • Automatic update check: At most once a week, and only from the Joomla administrator, the plugin reports the installed version, the domain and the download key to the update server, so that updates and licenses can be matched reliably. Neither IP addresses nor data of website visitors are collected; details in the privacy policy.
  6. Versions without an entry
    1.0.0

    First release

    The version history starts here.

Your topic

Just the key details - I usually reply within one working day.

Step 1 of 3