Skip to content

Commit

Permalink
Merge pull request #492 from Lemoncode/fixaccessibilitybug/#481-3-Add…
Browse files Browse the repository at this point in the history
…-collection-editor-headings

Change h2 to h1 in modal
  • Loading branch information
brauliodiez committed May 22, 2024
2 parents 089bc90 + a1fd804 commit aa0ff3f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/common/components/modal-dialog/modal-dialog.component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,9 @@ export const ModalDialog: React.FC = () => {
aria-labelledby="modal-modal-title"
>
<div className={styles.dialogHeader}>
<h2 className={styles.dialogTitle} id="modal-modal-title">
<h1 className={styles.dialogTitle} id="modal-modal-title">
{modalDialog.title}
</h2>
</h1>
<button
className={styles.dialogButton}
onClick={handleClick}
Expand Down

0 comments on commit aa0ff3f

Please sign in to comment.