Secure Password Creation with Dynamic Validation
User Story
As a user, I want to be able to create a secure password that meets the password constraints, so that my account is protected.
Acceptance Criteria
-
The password input field should have real-time validation to check if the password meets the constraints. - The constraints include:
-
Minimum length of 8 characters -
Maximum length of 64 characters -
Must contain at least one upper-case letter (A-Z) -
Must contain at least one lower-case letter (a-z) -
Must contain at least one numerical digit (0-9) -
Must contain at least one special character (!, @, #, $, %, ^, &, *, (, ), _, +, -, =) -
Cannot be a commonly used password -
Passwords must be changed every 180 days -
Users must not reuse their last password.
-
If the password does not meet the constraints, the user should see an error message specifying which constraint has not been met. -
If the password meets the constraints, the password input field should turn green and the "Create account" button should be enabled. -
The error messages and password validation should be clearly visible to the user. -
The password validation should work on both desktop and mobile devices. -
The password validation should be dynamic and update in real-time as the user types. -
The implementation should not negatively impact the performance of the page. -
The password validation should be tested in multiple browsers to ensure compatibility. -
The password validation should meet accessibility standards and be usable by users with assistive technology.
Edited by Fabian Schwickert