Skip to content

Commit 069a72f

Browse files
committed
accessibility fix: Updated SimpleCallout.tsx
1 parent 383a1e9 commit 069a72f

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/components/MDX/SimpleCallout.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
import * as React from 'react';
1313
import cn from 'classnames';
14-
import {H3} from './Heading';
14+
import {H2} from './Heading';
1515

1616
interface SimpleCalloutProps {
1717
title: string;
@@ -25,11 +25,11 @@ function SimpleCallout({title, children, className}: SimpleCalloutProps) {
2525
'p-6 xl:p-8 pb-4 xl:pb-6 bg-card dark:bg-card-dark rounded-2xl shadow-inner-border dark:shadow-inner-border-dark text-base text-secondary dark:text-secondary-dark my-8',
2626
className
2727
)}>
28-
<H3
28+
<H2
2929
className="text-primary dark:text-primary-dark mt-0 mb-3 leading-tight"
3030
isPageAnchor={false}>
3131
{title}
32-
</H3>
32+
</H2>
3333
{children}
3434
</div>
3535
);

0 commit comments

Comments
 (0)