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).
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: LP2089597- login-form- contrast- issues
user/sleary/
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.