Visitar URL original
Validation usability: Evaluate use case · Issue #5750 · uswds/uswds · GitHub
Skip to content

Validation usability: Evaluate use case #5750

Closed

Description

@jaclinec

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.

Activity

  1. 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[/+] on Oct 25, 2023
  2. transferred this issue fromuswds/uswdson Oct 25, 2023
  3. added
    Affects: GuidanceRelates to guidance. Should this be in uswds-site?
    Role: UXUX expertise is relevant. Project Active Role tracks ownership; this label is not an assignment.
    Type: SpikeA bounded investigation to answer a specific question; use native Task for the issue type.
    on Oct 25, 2023
  4. self-assigned this
    on Oct 25, 2023
  5. changed the title [-]Proper validation usage is unclear[/-] [+]USWDS-Site - Validation: Proper usage is unclear[/+] on Oct 25, 2023
  6. added
    Affects: UsabilityRelates to the usability of our code or components
    Type: ResearchResearch or audit work with a specific question and outcome; use native Task for the issue type.
    Role: ResearchResearch expertise is relevant.
    on Nov 30, 2023
  7. transferred this issue fromuswds/uswds-siteon Jan 29, 2024
  8. 7 remaining items

  9. moved this from On deck to In progress in USWDS Core Project Dataon Apr 17, 2024
  10. annepetersen commented on Apr 26, 2024

    @annepetersen
    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.

  11. jaclinec commented on Apr 26, 2024

    @jaclinec
    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.

  12. moved this from In progress to Hold in USWDS Core Project Dataon May 8, 2024
  13. moved this from Hold to Scheduled in USWDS Core Project Dataon Jun 10, 2024
  14. moved this from Scheduled to On deck in USWDS Core Project Dataon Jun 26, 2024
  15. moved this from On deck to In progress in USWDS Core Project Dataon Jun 28, 2024
  16. jaclinec commented on Jul 2, 2024

    @jaclinec
    Author

    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’).
  17. moved this from In progress to Fed Final Review in USWDS Core Project Dataon Jul 2, 2024
  18. jaclinec commented on Jul 18, 2024

    @jaclinec
    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.

  19. removed this from the milestone on Sep 26, 2024
  20. changed the title [-]USWDS-Site - Validation: Evaluate use case[/-] [+]Validation usability: Evaluate use case[/+] on Oct 25, 2024
  21. brunerae commented on Oct 25, 2024

    @brunerae
    Contributor

    Deprecation of this Component will be tracked in #6155

  22. moved this from Fed Final Review to Done in USWDS Core Project Dataon Oct 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Affects: GuidanceRelates to guidance. Should this be in uswds-site?Affects: UsabilityRelates to the usability of our code or componentsRole: ResearchResearch expertise is relevant.Role: UXUX expertise is relevant. Project Active Role tracks ownership; this label is not an assignment.Type: ResearchResearch or audit work with a specific question and outcome; use native Task for the issue type.Type: SpikeA bounded investigation to answer a specific question; use native Task for the issue type.

Type

No type

Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions