DOCS-1601 - Remove accordion tags from FAQ sections and update style guide#6668
DOCS-1601 - Remove accordion tags from FAQ sections and update style guide#6668JV0812 wants to merge 11 commits into
Conversation
…guide Removed <details> and <summary> accordion tags from FAQ sections across 7 documentation files (67 total accordions). FAQ content is now displayed as bold headings followed by visible answers, improving accessibility, SEO, and AI citation capabilities. Updated the style guide with comprehensive guidance on when to use and NOT use collapsible sections: - Added table format with clear DO/DON'T guidelines for 10 use cases - Documented that accordion tags violate GEO (Generative Engine Optimization) principles - Explained that AI tools cannot properly cite content hidden in accordions - Added requirement for title attribute in <details> tags for accessibility - Provided proper FAQ formatting examples - Preserved existing visual examples Changes: - Converted 67 FAQ accordion items to visible bold format - Updated 7 FAQ documentation files - Enhanced style guide with table-based guidance - Added GEO and AI citation best practices Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
|
@kimsauce Great Idea. But as you said it will create a lot of noise when we add more number of FAQs. Also, the page nav bar will feel heavy. |
|
Using bold for the FAQ questions is a reasonable choice for keeping the TOC clean, but it does mean those questions are invisible to answer engines and LLMs from a structural standpoint — bold is purely visual formatting with no semantic weight. H3 headings, on the other hand, create discrete retrievable units that RAG systems can chunk and cite individually, and they match the pattern answer engines use to extract FAQ responses. There's also no heading hierarchy concern here since |
…verability Address review feedback: format FAQ questions as H3/H4 headings instead of bold so answer engines and RAG systems can chunk and cite each Q&A as a discrete unit. Add the heading-level convention to the style guide. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
Thanks @kimsauce — went with H3/H4 headings for the AEO benefit you described. Applied in 1b3287c:
Each question is now a discrete, citable heading. This also keeps @JV0812's TOC-noise concern in check: Docusaurus shows only H2–H3 in the right-side TOC by default, so the large categorized FAQ lists stay out of the TOC while remaining semantic headings. I also added a "Format FAQ questions as headings" convention to the style guide documenting the H3/H4 rule for future FAQs. |
Co-authored-by: Kim <56411016+kimsauce@users.noreply.github.com>
…on-FAQ conversions, remove leftover divs - universal-connector-source: restore the six configuration-section <details> accordions (kept only FAQ and troubleshooting de-accordioned) - ai-machine-learning: revert 'What do these terms mean?' back to <details> (not an FAQ) - set-up-webhook-connections: revert 'Legacy variables' back to <details> (not an FAQ) - mcp-server: restore trailing newline - mobot: remove duplicate 'How can I opt out of Mobot?' answer (already covered by ## Opting out) - microsoft-graph-azure-ad-reporting-source: remove leftover <div> wrapper so content parses as Markdown Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Purpose of this pull request
This PR removes
<details>and<summary>accordion tags from FAQ sections to improve accessibility, SEO, and AI citation capabilities. It also updates the style guide with comprehensive guidance on when to use (and when NOT to use) collapsible sections.Summary
Removed accordion tags from 7 documentation files containing FAQ sections (67 total accordion items). FAQ content is now displayed using bold question headings followed by visible answers. This change ensures FAQ content is immediately visible, scannable, and properly indexed by search engines and AI tools.
Updated the contributing style guide with:
What changed
FAQ Documentation (7 files, 67 accordions removed):
docs/search/mobot.md(24 items)docs/api/mcp-server.md(3 items)docs/get-started/sumo-logic-ui.md(6 items)docs/get-started/ai-machine-learning.md(11 items)docs/cse/get-started-with-cloud-siem/soc-analyst-agent.md(9 items)docs/send-data/hosted-collectors/cloud-to-cloud-integration-framework/microsoft-graph-azure-ad-reporting-source.md(1 item)docs/send-data/hosted-collectors/cloud-to-cloud-integration-framework/universal-connector-source.md(13 items)Style Guide:
<details>tags<details>tagsBefore & After
Before:
After:
Why this change matters
Testing Plan
<details>tags (code samples, installation methods) are properly usedTicket (if applicable)
https://sumologic.atlassian.net/browse/DOCS-1601
Select the type of change