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

OKR 1.6: Error messaging and pages #401

Open
srtalbot opened this issue Aug 27, 2021 · 4 comments
Open

OKR 1.6: Error messaging and pages #401

srtalbot opened this issue Aug 27, 2021 · 4 comments
Assignees
Labels
App design Design task / work required development Development task / work required Epic

Comments

@srtalbot
Copy link
Contributor

srtalbot commented Aug 27, 2021

OKR 1.6: Exceed WCAG criteria 3.3.3 “Error Suggestion” by providing more specific information to end-users on how to fix their mistake for common short answer questions.

Types of elements:

  1. We know how to set an effective error message (E.x.: email, we have a specific component and can set a valid format easily)
  2. We have some information on how to set an effective error message (e.g.: date - we have some specific options in the data component that can tell us more information on what is an expected valid input)
  3. We have no information about how to set an effective error message

Context:

  • Which error messages are server-side vs client-side validated?
  • For type 1 & 2 we can do the work for them
  • For type 3: HMW help clients set custom validation

Goals:

  1. Review types 1 and 2 to see what work we can do to improve the error messaging for clients now
  2. Ideation on how we support clients in creating more custom validation, where and when it will/won't apply.
  3. Identify an interative approach to improving error messaging
  4. Designs that are ready for dev implementation to be prioritized.

Iterative plan:

  • Update 1: More specific errors for empty required fields Error summary/message for missing answers on required fields (Update 1) #4502 (generic template for empty fields)
  • Update 2: Review** and update 404/500 to split form builder and form filler for different CTAs (appropriate to each audience)
  • Subsequent component-specific updates: Format validation/error handling for phone number, email, etc. (higher-risk without full deep dive)
  • Future updates: Customization of error messages by form builder (write your own errors to allow even more specificity)

More details: https://docs.google.com/spreadsheets/d/1qx6K-PkburkQ2anDbRAhLpgWIfbYF8aWV6N34NrFUp8/edit?gid=0#gid=0
Supporting content: https://tetralogical.com/blog/2024/10/21/foundations-form-validation-and-error-messages/

@srtalbot srtalbot added Epic design Design task / work required development Development task / work required labels Aug 27, 2021
@srtalbot srtalbot changed the title Error messaging Error messaging and pages Aug 27, 2021
@Abi-Nada Abi-Nada added the App label Sep 16, 2024
@Abi-Nada Abi-Nada changed the title Error messaging and pages OKR 1.6: Error messaging and pages Sep 20, 2024
@anikbrazeau
Copy link
Member

anikbrazeau commented Oct 7, 2024

Past context:

Screenshot 2024-10-15 at 10.16.19 AM.png

Current context

Follow Design System specifications and advice

  • GCDS Error summary
    • Create usable error summaries
    • Use error summary with your own component instances
  • GCDS Error message
    • Identify and define the error
    • Get the person back on track with a call to action
    • Write a message that's scannable
    • Use a human tone
    • Use error messages to support accessible task success
    • Follow a predictable format for error messages

@anikbrazeau anikbrazeau self-assigned this Oct 7, 2024
@anikbrazeau
Copy link
Member

@anikbrazeau
Copy link
Member

anikbrazeau commented Oct 16, 2024

Note: some issues for multiple errors repeating can be mitigated by using pagination and one question per page to avoid summaries with many non-specific error messages.

Screenshot 2024-10-15 at 10.15.58 AM.png

@Abi-Nada
Copy link

Next steps: breaking up the work into actionable cards within this Epic (least priority for this Sprint)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
App design Design task / work required development Development task / work required Epic
Projects
None yet
Development

No branches or pull requests

4 participants