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>}
|
{password.touched && password.error && <span className="form-error">{password.error}</span>}
|
||||||
</p>
|
</p>
|
||||||
<Button
|
<Button
|
||||||
aria-label="login"
|
|
||||||
type="submit"
|
type="submit"
|
||||||
disabled={submitting || pristine}
|
disabled={submitting || pristine}
|
||||||
>Log In
|
>Log In
|
||||||
|
|
|
@ -36,7 +36,7 @@ function NewPasswordForm(props) {
|
||||||
<span className="form-error">{confirmPassword.error}</span>
|
<span className="form-error">{confirmPassword.error}</span>
|
||||||
}
|
}
|
||||||
</p>
|
</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>
|
</form>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
@ -24,7 +24,6 @@ function ResetPasswordForm(props) {
|
||||||
<Button
|
<Button
|
||||||
type="submit"
|
type="submit"
|
||||||
disabled={submitting || invalid || pristine || props.user.resetPasswordInitiate}
|
disabled={submitting || invalid || pristine || props.user.resetPasswordInitiate}
|
||||||
label="Send email to reset password"
|
|
||||||
>Send Password Reset Email
|
>Send Password Reset Email
|
||||||
</Button>
|
</Button>
|
||||||
</form>
|
</form>
|
||||||
|
|
|
@ -63,7 +63,6 @@ function SignupForm(props) {
|
||||||
<Button
|
<Button
|
||||||
type="submit"
|
type="submit"
|
||||||
disabled={submitting || invalid || pristine}
|
disabled={submitting || invalid || pristine}
|
||||||
label="sign up"
|
|
||||||
>Sign Up
|
>Sign Up
|
||||||
</Button>
|
</Button>
|
||||||
</form>
|
</form>
|
||||||
|
|
Loading…
Reference in a new issue