Commit 3340e8cf authored by Dries's avatar Dries
Browse files

- Patch #521904 by Everett Zufelt: changed aria-live attribute from polite to assertive.

parent 63f40df6
......@@ -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" aria-live="polite"></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="assertive"></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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment