Skip to content

Commit 1bcc18c

Browse files
committed
fix: added aria tags to dialog component
1 parent 135f214 commit 1bcc18c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/index.tsx

+4
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ export const useIdentityContext = _useIdentityContext
2323
export function IdentityModal({ showDialog, onCloseDialog, ...authprops }: ModalProps) {
2424
return (
2525
<Dialog
26+
role="dialog"
27+
aria-modal="true"
28+
aria-label="Login Modal"
29+
aria-labelledby="loginDialog"
2630
isOpen={showDialog}
2731
onDismiss={onCloseDialog}
2832
style={{

0 commit comments

Comments
 (0)