nextui icon indicating copy to clipboard operation
nextui copied to clipboard

[BUG] - Accordion contents not available in initial html for SEO indexing

Open ghost opened this issue 1 year ago • 4 comments

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

  1. Render page without JS enabled or inspect the initial html in network tab
  2. 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

ghost avatar Oct 12 '24 08:10 ghost

any update?

Aokoooooo avatar Nov 13 '24 02:11 Aokoooooo

I think Accordion needs a serious revisit, there are too many gotcha's with the current implementation.

Jimflip avatar Dec 11 '24 22:12 Jimflip

+1

romanticsoul avatar May 14 '25 16:05 romanticsoul