[Dialog, AlertDialog] Dialogs are unlabeled #1325
Labels
bug 🐛
Something doesn't work
component: alert dialog
This is the name of the generic UI component, not the React module!
component: dialog
This is the name of the generic UI component, not the React module!
Bug report
Current behavior
Dialog and AlertDialog are not properly labeled because the Title and Description parts don't have an id. The the
aria-labelledby
andaria-describedby
attributes point to non-existent ids. See attached screenshot.Expected behavior
Dialog and AlertDialog should be properly labeled by the Title and Descriptions parts.
Reproducible example
https://codesandbox.io/p/sandbox/base-ui-dialog-nested-without-nesting-forked-d2sjnf?workspaceId=ws_HE9JRzFW36Y2kpBoSwdvZ5
Base UI version
v1.0.0-alpha.5
The text was updated successfully, but these errors were encountered: