Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[med] Error: Set password: Error messages are not provided when trying to submit the form with empty fields #5528

Closed
ogumen opened this issue Sep 25, 2021 · 0 comments

Comments

@ogumen
Copy link

ogumen commented Sep 25, 2021

Action Performed:

  1. Using Chrome, open https://staging.new.expensify.com/
  2. Navigate to the 'Enter your phone or email' field and enter a valid email address, then click on 'Continue' button.
  3. Open the received email and click on 'here' link.
  4. Once the 'Set password' page opens, click on 'Set Password' button without entering any password into the fields,
  5. Note if there is any error message displayed for empty required fields.

Expected Result:

When user is trying to submit the form with any required field being empty, an error message should be displayed (e.g. " is required").

Actual Result:

No error messages or correction suggestions are provided when trying to submit the form with empty fields.

HTML:
<input autocapitalize="sentences" autocomplete="password" autocorrect="on" dir="auto" spellcheck="true" type="password" class="css-11aywtz" value="" style="background-color: rgb(255, 255, 255); border-color: rgb(236, 236, 236); border-radius: 8px; border-width: 1px; color: rgb(11, 27, 52); font-family: GTAmericaExp-Regular; font-size: 15px; height: 42px; padding: 10px 12px; vertical-align: middle;"> <input autocapitalize="sentences" autocomplete="password" autocorrect="on" dir="auto" spellcheck="true" type="password" class="css-11aywtz" value="" style="background-color: rgb(255, 255, 255); border-color: rgb(236, 236, 236); border-radius: 8px; border-width: 1px; color: rgb(11, 27, 52); font-family: GTAmericaExp-Regular; font-size: 15px; height: 42px; padding: 10px 12px; vertical-align: middle;">

Workaround:

No workaround

Area issue was found in:

Set password page

Failed WCAG checkpoints

3.3.1

User impact:

The users are not informed about the errors of the form and are not provided with any correction suggestions on how to fix them to proceed further.

Suggested resolution:

Provide the visible error messages to each required field when the form is submitted with empty fields (e.g. ' is required' or ' cannot be empty'). See: https://www.w3.org/WAI/WCAG21/Techniques/general/G83

Platform:

Where is this issue occurring?

  • Web

Version Number:
**Reproducible in staging?:**Yes
Reproducible in production?:
Notes/Photos/Videos: Any additional supporting documentation
Issue reported by:

Bug5183607_Error_suggestion_-_set_password.mp4

Bug5183607_Error_suggestion_-_set_password

View all open jobs on GitHub

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants