- Patch #521904 by mgifford: added ARIA live region to password strength and match containers.
parent
759277c8a3
commit
59c9219fb7
|
@ -19,7 +19,7 @@ Drupal.behaviors.password = {
|
|||
innerWrapper.addClass('password-parent');
|
||||
|
||||
// Add the description box.
|
||||
var passwordMeter = '<div id="password-strength"><div id="password-strength-text"></div><div class="password-strength-title">' + translate.strengthTitle + '</div><div id="password-indicator"><div id="indicator"></div></div></div>';
|
||||
var passwordMeter = '<div id="password-strength"><div id="password-strength-text" aria-live="polite"></div><div class="password-strength-title">' + translate.strengthTitle + '</div><div id="password-indicator"><div id="indicator"></div></div></div>';
|
||||
|
||||
$('div.description', outerWrapper).prepend('<div class="password-suggestions"></div>');
|
||||
$(innerWrapper).prepend(passwordMeter);
|
||||
|
|
Loading…
Reference in New Issue