Open djmj opened 2 years ago
Currenty accordion markup consist of structure like:
<h3>Tab1</h3> <div>content</div> <h3>Tab2</h3> <div>content</div>
This makes it impossible to use at a SEO optimized FAQ page since we need a surrounding div container to add the mata data attributes https://developers.google.com/search/docs/data-types/faqpage?hl=en
For example Tab 1 with surrounding div and meta data:
<div itemscope itemprop="mainEntity" itemtype="https://schema.org/Question"> <h3 itemprop="name">Tab1/h3> <div itemscope itemprop="acceptedAnswer" itemtype="https://schema.org/Answer"> <div itemprop="text"> content </div> </div> </div>
Currenty accordion markup consist of structure like:
This makes it impossible to use at a SEO optimized FAQ page since we need a surrounding div container to add the mata data attributes https://developers.google.com/search/docs/data-types/faqpage?hl=en
For example Tab 1 with surrounding div and meta data: