mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-03 12:14:25 +00:00
Passwords: Add password strength meter feedback for screen readers.
Also gives context to the show/hide button. Props rianrietveld, afercia. Fixes #33032. git-svn-id: https://develop.svn.wordpress.org/trunk@33353 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -376,6 +376,8 @@ function wp_default_scripts( &$scripts ) {
|
||||
did_action( 'init' ) && $scripts->localize( 'user-profile', 'userProfileL10n', array(
|
||||
'show' => __( 'Show' ),
|
||||
'hide' => __( 'Hide' ),
|
||||
'ariaShow' => esc_attr__( 'Show password' ),
|
||||
'ariaHide' => esc_attr__( 'Hide password' ),
|
||||
) );
|
||||
|
||||
$scripts->add( 'language-chooser', "/wp-admin/js/language-chooser$suffix.js", array( 'jquery' ), false, 1 );
|
||||
|
||||
Reference in New Issue
Block a user