Login and Registration: Add a "Show password" button on the login page.

The ability for users to see the password they're typing improves usability and accessibility of the login users flow.

- brings the login screen in line with the same feature already used in the New User, Edit User, and Reset Password pages
- improves association of labels and input fields by using explicit association with `for` / `id` attributes
- slightly increases the "Remember me" label font size

Props johnbillion, Iceable, audrasjb, joyously, adamsilverstein, boemedia, DrewAPicture, shadyvb, birgire, peterwilsoncc, pento, anevins, davidbaumwald, whyisjake, afercia.
Fixes #42888.


git-svn-id: https://develop.svn.wordpress.org/trunk@46256 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrea Fercia
2019-09-23 18:05:16 +00:00
parent 03fe23cc8a
commit 0ff03b3290
5 changed files with 124 additions and 173 deletions
+11
View File
@@ -301,6 +301,17 @@ body.rtl,
box-sizing: border-box;
}
.wp-pwd #pass1 {
padding-right: 50px;
}
.wp-pwd .button.wp-hide-pw {
right: 0;
}
#pass-strength-result {
width: 100%;
}
}
body.language-chooser {