Skip to content

Commit 161ac5b

Browse files
committed
Remove duplicate aria-labels
1 parent 9d68de8 commit 161ac5b

File tree

4 files changed

+1
-4
lines changed

4 files changed

+1
-4
lines changed

Diff for: client/modules/User/components/LoginForm.jsx

-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ function LoginForm(props) {
3434
{password.touched && password.error && <span className="form-error">{password.error}</span>}
3535
</p>
3636
<Button
37-
aria-label="login"
3837
type="submit"
3938
disabled={submitting || pristine}
4039
>Log In

Diff for: client/modules/User/components/NewPasswordForm.jsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ function NewPasswordForm(props) {
3636
<span className="form-error">{confirmPassword.error}</span>
3737
}
3838
</p>
39-
<Button type="submit" disabled={submitting || invalid || pristine} label="sign up">Set New Password</Button>
39+
<Button type="submit" disabled={submitting || invalid || pristine}>Set New Password</Button>
4040
</form>
4141
);
4242
}

Diff for: client/modules/User/components/ResetPasswordForm.jsx

-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ function ResetPasswordForm(props) {
2424
<Button
2525
type="submit"
2626
disabled={submitting || invalid || pristine || props.user.resetPasswordInitiate}
27-
label="Send email to reset password"
2827
>Send Password Reset Email
2928
</Button>
3029
</form>

Diff for: client/modules/User/components/SignupForm.jsx

-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@ function SignupForm(props) {
6363
<Button
6464
type="submit"
6565
disabled={submitting || invalid || pristine}
66-
label="sign up"
6766
>Sign Up
6867
</Button>
6968
</form>

0 commit comments

Comments
 (0)