Skip to content

Validation usability: Evaluate use case #5750

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

Closed
jaclinec opened this issue Oct 25, 2023 · 5 comments
Closed

Validation usability: Evaluate use case #5750

jaclinec opened this issue Oct 25, 2023 · 5 comments
Assignees
Labels
Affects: Guidance Relates to guidance. Should this be in uswds-site? Affects: Usability Relates to the usability of our code or components Role: Research Research skills needs Role: UX UX skills needed Type: Research Research activities Type: Spike A short research activity to help make a decision

Comments

@jaclinec
Copy link

jaclinec commented Oct 25, 2023

Summary

Users are confused and unclear on what the purpose of the validation component is. It does not match user expectations for how their information should be validated in a form input. We want to further investigate the use cases and proper implementation for validation.

Observations

4 participants (a mix of people using screen readers and screen magnification) were confused and said they weren't sure what the validation message was doing when we tested it in our form prototype. Instead of getting validation information at the top of the form, users indicated that they expect inputs to be validated inline or upon submission of the form instead.

"I guess after the point of of pressing sign in was where maybe some, it would redirect me to say invalid email, please enter a valid email address."

Video clips 🔒

Previous research from the Inclusive Interactions Team has also provided evidence that validation needs improvement:
UAT Findings presentation slide 26

Affected user groups

  • All users
  • screen reader users
  • screen magnification users

Research method

Usability testing with 5 visually impaired participants. See details in the findings report for details. Validation summary is here.

Next steps

We will perform a landscape analysis and literature review to discover proper use cases and implementations for validation.

@jaclinec jaclinec changed the title Proper validation usage is unclear: What is the use case for validation? Is it useful? Implementation guidance for validation is unclear. If there is a way it can and should be used, it is not clear from our guidance. Proper validation usage is unclear Oct 25, 2023
@jaclinec jaclinec transferred this issue from uswds/uswds Oct 25, 2023
@jaclinec jaclinec added Affects: Guidance Relates to guidance. Should this be in uswds-site? Type: Enhancement Role: UX UX skills needed Type: Spike A short research activity to help make a decision labels Oct 25, 2023
@jaclinec jaclinec self-assigned this Oct 25, 2023
@mahoneycm mahoneycm changed the title Proper validation usage is unclear USWDS-Site - Validation: Proper usage is unclear Oct 25, 2023
@jaclinec jaclinec added Affects: Usability Relates to the usability of our code or components Type: Research Research activities Role: Research Research skills needs labels Nov 30, 2023
@jaclinec jaclinec transferred this issue from uswds/uswds-site Jan 29, 2024
@jaclinec jaclinec changed the title USWDS-Site - Validation: Proper usage is unclear USWDS-Site - Validation: Evaluate use case Jan 29, 2024
@brunerae brunerae modified the milestones: 2023.12 December, 2024.03 March Feb 26, 2024
@brunerae brunerae modified the milestones: 2024.03 March, 2024.05 May Apr 9, 2024
@jaclinec jaclinec moved this from On deck to In progress in USWDS Core Project Data Apr 17, 2024
@annepetersen
Copy link
Contributor

Noting I'd encourage us to start with our implementation and work in a larger look at validation later, just in terms of our current competing priorities.

@jaclinec
Copy link
Author

I've compiled over 30 sources for this research and am making headway in reviewing, but it is taking time. This is a topic that has pretty broad implications for our guidance, so after a discussion, Anne and I decided to keep the scope fairly narrow to address implications for our validation component specifically, not validation/error handling guidance in general (which is a much larger lift).

Here's the validation desk research document where I am capturing sources, notes, keywords used in search, and initial thoughts.

@brunerae brunerae moved this from In progress to Hold in USWDS Core Project Data May 8, 2024
@brunerae brunerae moved this from Hold to Scheduled in USWDS Core Project Data Jun 10, 2024
@jaclinec jaclinec moved this from Scheduled to On deck in USWDS Core Project Data Jun 26, 2024
@jaclinec jaclinec moved this from On deck to In progress in USWDS Core Project Data Jun 28, 2024
@jaclinec
Copy link
Author

jaclinec commented Jul 2, 2024

I've completed the Validation Component Literature Review. 🔒

The next step is sharing findings with the team.

Summary of findings:

Our validation component is unique and not commonly found in the literature nor other design systems. The closest example is a password strength indicator, which gives upfront requirements and live feedback as users type. However, unlike our component, the feedback password strength indicator is usually placed near the input field and uses colors and icons, making it more noticeable.

Our validation component also does not follow familiar form validation design conventions that users expect, leading to usability issues. Common form validation methods in the landscape include clear labels, hint text, and inline validation near inputs to help prevent mistakes. While stating validation requirements upfront is considered a best practice, they should be placed close to the input fields, not at the top of the page.

Recommendations:

  1. Deprecate the validation component in its current form.
  2. Consider adding a password validation component if we think it could fulfill a need for USWDS users.
  3. Research and provide robust guidance on form validation and error handling best practices. It would likely be a new pattern (e.g. ‘Help a user avoid and easily fix errors’).

@jaclinec jaclinec moved this from In progress to Fed Final Review in USWDS Core Project Data Jul 2, 2024
@jaclinec
Copy link
Author

I shared these findings with the team in CS UX sync and the next step is Amy L and I meeting to discuss possible next steps in deprecation of the validation component from a process perspective for the component lifecycle work. This issue can be marked as done.

@brunerae brunerae removed this from the 2024.05 May milestone Sep 26, 2024
@brunerae brunerae changed the title USWDS-Site - Validation: Evaluate use case Validation usability: Evaluate use case Oct 25, 2024
@brunerae
Copy link
Contributor

Deprecation of this Component will be tracked in #6155

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Affects: Guidance Relates to guidance. Should this be in uswds-site? Affects: Usability Relates to the usability of our code or components Role: Research Research skills needs Role: UX UX skills needed Type: Research Research activities Type: Spike A short research activity to help make a decision
Projects
Archived in project
Development

No branches or pull requests

3 participants