-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[DESIGN] Test and validate language for SSN input #389
Comments
Add a link or screenshot from Storybook to this ticket. |
@kalasgarov Here is my WIP (Figma) – I will finalize these after design review tomorrow and update the ticket once ready. Essentially, the error messages aim to describe what went wrong, and where, in plain language. The error UI also is updated to reflect USWDS styles. Error type: Invalid set of digits in all locations. Error type: Invalid set of digits at the beginning. Error type: Invalid set of digits in the middle. Error type: Invalid set of digits at the end. Error type: Invalid set of digits in the middle and end. Error type: Invalid amount of digits. |
hi @kalasgarov , after much thought, our design recommendation is to just provide a general error message "Enter a valid Social Security number" for all client-side validation. Here is our rationale:
Do let me know if you have any questions. |
Hi @nichole-aquino, thank you for following up on this! I agree that sometimes error messages can become too lengthy. I see the value in providing only short and generic error messages for SSNs. The detailed guidelines are more relevant for SSN issuers rather than SSN holders. SSN holders should simply enter their number as printed on their SSN cards. Could you please include this change to the follow up engineering ticket on error states update. |
@kalasgarov No problem, the ticket should be up to date but let me know if you need further details (#461) |
We need to ensure that the Social Security Number (SSN) input field validates according to a specific set of requirements. This includes clear communication of error and hint messages to the user. Our objectives are to:
Requirements:
Related links:
https://www.ssa.gov/kc/SSAFactSheet--IssuingSSNs.pdf
https://designsystem.digital.gov/patterns/create-a-user-profile/social-security-number/
The text was updated successfully, but these errors were encountered: