Skip to content

Commit a8887c1

Browse files
Add aria modal tag where missing
1 parent 769366c commit a8887c1

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

src/components/CreateProjectModal.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ export function CreateProjectModal({
112112
<div className="tw:modal-overlay">
113113
<dialog
114114
aria-labelledby="create-project-modal-title"
115+
aria-modal="true"
115116
className="tw:modal-dialog tw:rounded tw:w-96"
116117
open
117118
>

src/components/SelectInterlinearProjectModal.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@ export function SelectInterlinearProjectModal({
152152
<div className="tw:modal-overlay">
153153
<dialog
154154
aria-labelledby="select-project-modal-title"
155+
aria-modal="true"
155156
className="tw:modal-dialog tw:rounded-lg tw:w-lg"
156157
open
157158
>

0 commit comments

Comments
 (0)