Accessibility issues with the Register Workstation button

Bug #2089597 reported by Jane Sandberg
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Evergreen
Fix Committed
Medium
Unassigned
3.15
Fix Committed
Medium
Unassigned

Bug Description

The "Register" button on the Angular Workstation administration screen has two accessibility problems: one in light mode and one in dark mode.

In light mode, there is very little contrast between the text and button background when the button is focused. In dark mode, the contrast is fine, but there is no focus indicator when the button is focused. I think the button is fine when not focused. The AngularJS workstation administration screen is fine, it's just the Angular one that has problems.

This is on today's main branch. I saw this in Firefox, haven't checked other browsers yet.

Steps to recreate:

1. Go to /eg2/en-US/staff/admin/workstation/workstations/manage
2. Switch to Light Mode if you aren't already using it
3. Type a Workstation Name.
4. Press the Tab key
5. Note that the Register button is almost unreadable: white text on very light grey background.
6. Switch to Dark Mode.
7. Tab back to the Register button.
8. Note that it is readable, but there is no particular indication that the Register button has focus (if you are watching *very* closely, you can notice a very subtle change in text color, but it is quite easy to miss).

Dan Briem (dbriem)
Changed in evergreen:
status: New → Confirmed
tags: added: ux-colors
Changed in evergreen:
assignee: nobody → Stephanie Leary (stephanieleary)
Revision history for this message
Stephanie Leary (stephanieleary) wrote :

We had placed the logic to set the color mode *after* the user login, for some reason. This was causing several issues.

Here's a branch that fixes the contrast issues with the button as well as the background of the password visibility toggle:
user/sleary/LP2089597-login-form-contrast-issues

https://git.evergreen-ils.org/?p=working/Evergreen.git;a=shortlog;h=refs/heads/user/sleary/LP2089597-login-form-contrast-issues

This may fix other issues with the color modes.

Changed in evergreen:
assignee: Stephanie Leary (stephanieleary) → nobody
tags: added: pullrequest
Changed in evergreen:
milestone: none → 3.14.5
Revision history for this message
Terran McCanna (tmccanna) wrote :

Getting a merge conflict in /app/staff/nav.component.ts against 3.15 beta

tags: added: needsrebase
Revision history for this message
Stephanie Leary (stephanieleary) wrote :

Updated!

tags: removed: needsrebase
Revision history for this message
Llewellyn Marshall (lbmarshallv) wrote :

I'm looking at this patch on Blake's test server and my own and I'm still seeing the white text on the "register" button at /eg2/en-US/staff/admin/workstation/workstations/manage

Revision history for this message
Terran McCanna (tmccanna) wrote :

Seeing the same behavior as Llewellyn. Adding needswork tag.

tags: added: needswork
removed: pullrequest
Revision history for this message
Stephanie Leary (stephanieleary) wrote :

Thanks for testing! I found the issue with the hover/focus color and pushed a follow-up commit.

tags: added: pullrequest
removed: needswork
Changed in evergreen:
milestone: 3.14.5 → 3.14.6
Changed in evergreen:
milestone: 3.14.6 → 3.14.7
Changed in evergreen:
milestone: 3.14.7 → 3.14.8
Revision history for this message
Blake GH (bmagic) wrote :

Merge conflict on main today. I think I resolved it for bugsquashing week but there was something strange with git's reconciliation in Open-ILS/src/templates/staff/css/styles-colors.css.tt2

Revision history for this message
Susan Morrison (smorrison425) wrote :

Confirmed in light and dark modes that the Register button focus is now consistent with the other buttons on this page. There is no change in the text color, and it's visibly outlined when tabbed to.

I have tested this code and consent to signing off on it with my name, Susan Morrison,
and my email address, <email address hidden>.

tags: added: signedoff
Changed in evergreen:
milestone: 3.14.8 → 3.14.9
Changed in evergreen:
milestone: 3.14.9 → 3.14.10
Changed in evergreen:
milestone: 3.14.10 → 3.14.11
Changed in evergreen:
milestone: 3.14.11 → 3.14.12
Revision history for this message
Jane Sandberg (sandbergja) wrote :

Thanks, Stephanie, Susan, and all others who have worked with this bug. I squashed the two commits together, and pushed to rel_3_14 and above.

Changed in evergreen:
status: Confirmed → Fix Committed
importance: Undecided → Medium
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.