Skip to content

Commit ddad648

Browse files
committed
fix: add role attribute to div in ChangePasswordModal for accessibility
1 parent a70dd30 commit ddad648

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/newSettings/Sections/Account/Security/components/ChangePasswordModal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ const ChangePasswordModal = ({
5656

5757
return (
5858
<Modal isOpen={isOpen} onClose={onClose}>
59-
<div onMouseDown={handleMouseDown}>
59+
<div onMouseDown={handleMouseDown} role="none">
6060
<form onSubmit={handleSubmit}>
6161
<h1 className="text-2xl font-medium text-gray-80">{translate('modals.changePasswordModal.title')}</h1>
6262
<ValidPassword

0 commit comments

Comments
 (0)