fix(dialog): add aria-describedby attribute to DialogContent for accessibility
This commit is contained in:
@@ -38,6 +38,7 @@ const DialogContent = React.forwardRef<
|
||||
<DialogOverlay />
|
||||
<DialogPrimitive.Content
|
||||
ref={ref}
|
||||
aria-describedby={undefined}
|
||||
className={cn(
|
||||
'fixed left-[50%] top-[50%] z-50 w-full max-w-lg translate-x-[-50%] translate-y-[-50%]',
|
||||
'bg-surface-elevated border border-border rounded-xl shadow-xl',
|
||||
|
||||
Reference in New Issue
Block a user