Skip to content

Commit 30b886a

Browse files
Use a level 1 heading in Dialog
This comment is convincing: mui/material-ui#34250 (comment)
1 parent 68f0d0b commit 30b886a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react/src/Dialog/Dialog.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ const DialogRoot = forwardRef(
2828
) => (
2929
<dialog {...restProps} ref={ref} className={clsx('ams-dialog', className)}>
3030
<header className="ams-dialog__header">
31-
<Heading level={2} size="level-4">
31+
<Heading level={1} size="level-4">
3232
{heading}
3333
</Heading>
3434
<IconButton label={closeButtonLabel} onClick={closeDialog} size="level-4" type="button" />

0 commit comments

Comments
 (0)