Skip to content

Accordion content not indexed by Google when hidden #5236

@Flagstaff-Builds

Description

@Flagstaff-Builds

Description:

When using Radix UI’s accordion component, the content inside collapsed items doesn’t seem to be indexed by Google.

What’s happening:

  • The accordion renders all items in the DOM, but hidden content uses styles like display: none, height: 0, or aria-hidden.
  • Googlebot appears to skip or ignore that content during indexing.
  • Only the initially open accordion item is indexed reliably.

Metadata

Metadata

Assignees

No one assigned

    Labels

    complexity:mediumUp to 1 week of workprio:1The most important thing to work ontype:bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions