Login page error messaging needs work

Bug #1839364 reported by Tiffany Little
18
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Evergreen
Fix Released
Medium
Unassigned

Bug Description

The error message provided when a user enters incorrect login information is inadequate. The message is located beneath the login form which could cause it to be missed by keyboard-only users or users who use screen magnification.

Also, if a user accidentally skips a form field, an error message is not provided to make them aware of this mistake. This could cause users to grow confused or assume that the submit button is broken.

Here is the source code of the error message provided when it appears:

<span ng-show=""loginFailed"" class=""label label-warning"">Login Failed</span>

We should provide adequate error messages so that all users are made aware of any input mistakes that may be made.

See: https://www.w3.org/WAI/WCAG21/quickref/#error-identification
See: https://www.w3.org/WAI/WCAG21/Understanding/error-identification.html
See also: https://wiki.evergreen-ils.org/doku.php?id=accessibility:webclient_audit

tags: removed: webstaffclient
tags: added: ux-error-messages
Changed in evergreen:
status: New → Confirmed
Revision history for this message
Stephanie Leary (stephanieleary) wrote :

Branch: https://git.evergreen-ils.org/?p=working/Evergreen.git;a=shortlog;h=refs/heads/user/sleary/LP1839364-login-page-error-messaging

To test, just try to log in with a username or password that doesn't work. You should see a large alert-danger message with an icon above the form inputs, rather than the small yellow badge that was previously to the right of the Sign In button. (See screenshot.)

tags: added: pullrequest
Andrea Neiman (aneiman)
Changed in evergreen:
importance: Undecided → Medium
Revision history for this message
Galen Charlton (gmc) wrote :

Signed off: user/gmcharlt/lp1839364_signoff

tags: added: signedoff
Revision history for this message
Galen Charlton (gmc) wrote :

Pushed down to rel_3_12. Thanks, Stephanie!

Changed in evergreen:
milestone: none → 3.12.1
status: Confirmed → Fix Committed
Changed in evergreen:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.