nextui
nextui copied to clipboard
[BUG] - Accordion contents not available in initial html for SEO indexing
NextUI Version
Describe the bug
The initial HTML from the server only contains the AccordionItem buttons, it does not include the content. This is not ideal for SEO.
Your Example Website or App
No response
Steps to Reproduce the Bug or Issue
- Render page without JS enabled or inspect the initial html in network tab
- Locate the accordion and note that only the buttons are there, all the inner text is not.
Expected behavior
I expect the content to be in the HTML for SEO indexing, and the client to show/hide as needed.
Screenshots or Videos
No response
Operating System Version
Browser
Chrome
any update?
I think Accordion needs a serious revisit, there are too many gotcha's with the current implementation.
+1