Remove duplicate aria-labels

This commit is contained in:
Andrew Nicolaou 2020-05-26 18:36:07 +02:00
parent 9d68de8dd2
commit 161ac5b3eb
4 changed files with 1 additions and 4 deletions

View file

@ -34,7 +34,6 @@ function LoginForm(props) {
{password.touched && password.error && <span className="form-error">{password.error}</span>}
</p>
<Button
aria-label="login"
type="submit"
disabled={submitting || pristine}
>Log In

View file

@ -36,7 +36,7 @@ function NewPasswordForm(props) {
<span className="form-error">{confirmPassword.error}</span>
}
</p>
<Button type="submit" disabled={submitting || invalid || pristine} label="sign up">Set New Password</Button>
<Button type="submit" disabled={submitting || invalid || pristine}>Set New Password</Button>
</form>
);
}

View file

@ -24,7 +24,6 @@ function ResetPasswordForm(props) {
<Button
type="submit"
disabled={submitting || invalid || pristine || props.user.resetPasswordInitiate}
label="Send email to reset password"
>Send Password Reset Email
</Button>
</form>

View file

@ -63,7 +63,6 @@ function SignupForm(props) {
<Button
type="submit"
disabled={submitting || invalid || pristine}
label="sign up"
>Sign Up
</Button>
</form>