- Issue created by @rkoller
- Status changed to Needs review
about 1 year ago 5:32pm 6 October 2023
I was testing the module for the first time. As the first step i deliberately chose to enter a short password (6 lowercase letters). I ran into an error stating i havent met the minimum requirement for the password. there are two problems with that error. before entering the password i see only the recommended requirements from drupal core having at least 12 characters using uppercase letters, numbers and punctuation. there is no word that there is a minimum requirement for passwords in place. after sending the form with the too short password there is another problem the error message only states 1 error has been found: password
which is just arbitrary and not meaningful. the explanation is shown inline under the confirm password
field with passwords must be at least 8 characters
. as you can see in the video that line isn't announced by a screenreader (voiceover in macos 12.6.1 is used in the video). a screenreader user would be unable to notice the root cause easily but has to step through the aural interface sequentially to spot the particular sentence.
1. go to /user/1/edit
2. enter a password that is shorter than 8 characters
1. if possible it would be good to update the password description from To change the current user password, enter the new password in both fields.
and change it to something like: To change the current user password, enter the new password in both fields. The password has to have at least 8 character.
. It might be even an idea to add a third sentence that the entered password will be rated for its strength?
2. Change the error message from 1 error has been found: Password
to something like Passwords must have at least 8 characters.
or The chosen password was too short. The minimum requirement are eight characters.
. That way the reason for the error is announced by screen readers in contrast to the inline error.
3. remove the inline error Passwords must be at least 8 characters
underneath the confirm password field.
Needs review
2.1
User interface
It affects the ability of people with disabilities or special needs (such as blindness or color-blindness) to use Drupal.
Makes Drupal easier to use. Preferred over UX, D7UX, etc.