The password strength script attempts to be accessible by using aria-live to announce when the password matches the site requirements.
However the code is wrong. For aria-live to work the region must be on the page at the beginning and then updated with content by js. You cannot dynamically add the aria-live region.
This should be done similar to the message layout
Also in this case it should be assertive and not polite as we want it to be announced immediately that the password meets the site requirements.
You can easily test this with the builtin screen reader in OSX or Windows
Labels |
Added:
?
|
Labels |
Added:
?
|
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2021-01-07 21:35:00 |
Closed_By | ⇒ | brianteeman | |
Labels |
Added:
?
Removed: ? |