Remove duplicate aria-labels
This commit is contained in:
parent
9d68de8dd2
commit
161ac5b3eb
4 changed files with 1 additions and 4 deletions
|
@ -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
|
||||
|
|
|
@ -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>
|
||||
);
|
||||
}
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -63,7 +63,6 @@ function SignupForm(props) {
|
|||
<Button
|
||||
type="submit"
|
||||
disabled={submitting || invalid || pristine}
|
||||
label="sign up"
|
||||
>Sign Up
|
||||
</Button>
|
||||
</form>
|
||||
|
|
Loading…
Reference in a new issue