From cdca7024770ac6c8dc300c3c46d8f6d55826ed9c Mon Sep 17 00:00:00 2001 From: Andrea Fercia Date: Wed, 13 Mar 2019 23:36:45 +0000 Subject: [PATCH] Accessibility: Improve the password form buttons accessibility. - makes the "Cancel" button always visible: this allows to generate a new password also on small screens - moves focus back to the Generate Password button when closing the form - changes the password reset show/hide button from a clickable `` element to a real ` diff --git a/src/wp-admin/user-new.php b/src/wp-admin/user-new.php index 7937fd8a3b..dfcf826552 100644 --- a/src/wp-admin/user-new.php +++ b/src/wp-admin/user-new.php @@ -498,10 +498,11 @@ if ( current_user_can( 'create_users' ) ) { diff --git a/src/wp-login.php b/src/wp-login.php index e249ba2157..07cf87fcff 100644 --- a/src/wp-login.php +++ b/src/wp-login.php @@ -712,9 +712,9 @@ switch ( $action ) {
- - - +