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>} {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

View file

@ -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>
); );
} }

View file

@ -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>

View file

@ -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>