Skip to content

[Accordion] Component removes children from DOM when close #3601

Open
@Jens-Mikael

Description

@Jens-Mikael

Feature request

A feature to keep AccordionContent children in DOM after the accordion is closed for SEO purposes

Overview

I've noticed that the accordion.content component removes the children from the DOM when the state is closed. At first site this is logical when it's added most likely for the purpose of performance. But actually this is very bad as it hurts the SEO and web crawlers when less text is visible on the web page.

Examples in other libraries

I haven't found this feature in other libraries and therefore I've always built it myself.

Who does this impact? Who is this for?

This affects everyone who is not aware of the issue as it hurts tremendously SEO. Additionally, if your page is really dependent on SEO, this is a must-have feature

###Example

Here is an example from the official website:

0623.mp4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions