-
Notifications
You must be signed in to change notification settings - Fork 11
Description
Hi all. This is the next idea for PR. Who will do it?
Improve accessibility of Registration form
There are two buttons in the registration form:
- Register
- Cancel.
But only one of them is actually a button - "Register" button. The second one looks like a button, but is a link. Take a look at the source code to see for yourself.

The "Register" button works perfectly. But the false Cancel button is confusing.
When a keyboard user sees a button, he wants to run it using Spacebar. Unfortunately, Spacebar does not launch the expected action.
The screen reader user hears that this is a link. Unfortunately, they can't hear where this link leads.
Using "Cancel" redirects you to the homepage. This behavior is unexpected. It causes an unexpected change of context. When I use the button, I expect the cursor to return to the place where the action was called.
In my opinion:
- The current link "Cancel" should be changed to a button.
- The only action that the Cancel button should launch is the Reset action. That's why I think it should be a Reset button.
What do you think about it? If you agree, don't wait - start working. Prepare PR.