FAQ Schema not working on Accordion
-
I’m seeing this problem across many different sites, the link above is one example.
I have already made sure WP core is up to date, using Hello theme, and the ONLY plugin active is Elementor.
I have an accordion on the page and I have turned on FAQ schema. But what happens is that all of the answers are empty. The answers should be displaying the lorem ipsum text, but instead the answers are all empty.
My guess is that because it’s a container and has a text block in it it’s not grabbing an escaped version of the content within the container of the accordion to put into the FAQ schema.
Google therefore flagging multiple sites as schema invalid since it’s missing the answers.
It generates this schema with al empty answers:
<script type=”application/ld+json”>{“@context”:”https:\/\/schema.org”,”@type”:”FAQPage”,”mainEntity”:[{“@type”:”Question”,”name”:”Item #1″,”acceptedAnswer”:{“@type”:”Answer”,”text”:””}},{“@type”:”Question”,”name”:”Item #2″,”acceptedAnswer”:{“@type”:”Answer”,”text”:””}},{“@type”:”Question”,”name”:”Item #3″,”acceptedAnswer”:{“@type”:”Answer”,”text”:””}}]}</script>The page I need help with: [log in to see the link]
You must be logged in to reply to this topic.