LP1977554 - Add Password visibility toggle on login screens user/scottangel/LP1977554-add-password-visibility-toggle-login-screen
authorScott Angel <scottangel@mobiusconsortium.org>
Thu, 23 Mar 2023 21:27:05 +0000 (16:27 -0500)
committerScott Angel <scottangel@mobiusconsortium.org>
Thu, 23 Mar 2023 21:27:05 +0000 (16:27 -0500)
commit12f88af6893e3e66a55c4bc66e432e1689b71151
tree88b40425363c7ec0e7d475a18633db0f3a4bc31c
parent135e1dba37da345b4b354029ef67d00a3fee0f70
LP1977554 - Add Password visibility toggle on login screens

Changed the <span> tags to <button> tags so it can be reached via
keyboard navigation.

Added a few more attributes to the password input tag.
autocapitalize="none"
spellcheck="false"
aria-description so screen readers can describe to the user what
the current state is.

Added aria-checked to the button for screen readers

Added a new css file for the login.component with a little styling.

Signed-off-by: Scott Angel <scottangel@mobiusconsortium.org>
Open-ILS/src/eg2/src/app/staff/login.component.css [new file with mode: 0644]
Open-ILS/src/eg2/src/app/staff/login.component.html
Open-ILS/src/eg2/src/app/staff/login.component.ts
Open-ILS/src/templates-bootstrap/opac/css/style.css.tt2
Open-ILS/src/templates-bootstrap/opac/parts/base.tt2
Open-ILS/src/templates-bootstrap/opac/parts/login/form.tt2
Open-ILS/src/templates-bootstrap/opac/parts/login/login_modal.tt2
Open-ILS/src/templates/opac/parts/js.tt2
Open-ILS/src/templates/opac/parts/login/form.tt2
Open-ILS/src/templates/staff/css/style.css.tt2
Open-ILS/src/templates/staff/t_login.tt2