Skip to content
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

Update ssn page to include guidance on displaying prefilled last four of ssn #3662

Merged
merged 7 commits into from
Jan 10, 2025

Conversation

adamwhitlock1
Copy link
Contributor

@adamwhitlock1 adamwhitlock1 commented Jan 9, 2025

Summary

Adds some guidance to the SSN pattern page around displaying the SSN or last 4 digits of the SSN when it is provided via prefill.

Added

  • Text content relating to the prefilled ssn and its usage within authenticated form flows
  • Related screenshot was added to show the card with personal information including the last 4 of SSN
  • Code usage section including a reference to the newly created utility formatNumberForScreenReader(123456789)
  • Links to related patterns

Preview Link to page with changes
https://dev-design.va.gov/3662/patterns/ask-users-for/social-security-number

Relavent screenshots

Added example of personal information card
Screenshot of personal information card showing last 4 digits of social security number

Added code example for number formatting utility
Screenshot of code snippet for how to format a social security number for screen readers

Related ticket
department-of-veterans-affairs/tmf-auth-exp-design-patterns#165

@adamwhitlock1 adamwhitlock1 requested a review from a team as a code owner January 9, 2025 14:48
Copy link
Collaborator

@humancompanion-usds humancompanion-usds left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Made a few minor tweaks. Good to go.

@humancompanion-usds humancompanion-usds merged commit f8cb717 into main Jan 10, 2025
4 checks passed
@humancompanion-usds humancompanion-usds deleted the aedp/aw/165/ssn-update branch January 10, 2025 15:06
@adamwhitlock1
Copy link
Contributor Author

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants