Skip to content

Warning: Missing Description or aria-describedby={undefined} for {DialogContent}. if custom ID used for Description component #3579

@NuclleaR

Description

@NuclleaR

Bug report

Current Behavior

If custom id used for Description component warning appears in the console

<Description id="my-id" className="text-md mt-4 text-center font-body text-accent-d" data-role="description">
  {description}
</Description>

Expected behavior

No warning in the console

Reproducible example

https://codesandbox.io/p/devbox/adoring-jennings-hnzvm9?workspaceId=ws_RwqhyAvK5BpEaJ7RcGktvy

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