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
USWDS - Date picker: Manually formatting date input is difficult #5534
Comments
Component FeedbackCan you provide an example message or use case?
MaskingCould you add a little more information on what functionality exactly we need from input mask? Is it the underscores?
|
@mejiaj the W3C design system offers some examples of form errors for dates that look promising: We could try something similar to this, but if the user enters the wrong format the error message could say something like "Please enter a valid date format MM/DD/YYYY" or similar. I'll add this comment to #5692 as well. |
@jaclinec I agree! We actually offer these styles with the I created uswds/uswds-site#2476 in hopes of adding guidance to users on how and when to use these styles. I also noticed that we currently have styles written to remove that sidebar in desktop widths. I think it'd be helpful to users if that error bar showed in all widths to visually group error states. Example: Kapture.2024-03-04.at.09.36.10.webmShould we add this error state to our next round of user testing for feedback? |
@mahoneycm totally agree that the error bar should show in all widths if possible. Otherwise, we are relying heavily on the red color to depict that there's an error which isn't accessible for color blind users. And I'm glad you're thinking about error states and how we need to offer more guidance there! I have some thoughts and also want to share some great research the patterns team did around this - I'll add it to #2476. But generally, I think yes we need to decide on a fairly consistent look, functionality, and guidance around error states and should test it with users when we feel its in a good place to test! |
@jaclinec Removing the styles to maintain the side bar in all states should be pretty straightforward and easy. Happy to help with that after this release! |
Summary
Users found it challenging to manually type dates into the date picker input element.
Observations
Affected user groups
Research method
1-hour 20 minute moderated usability testing sessions conducted via video conference. Conducted with 5 participants using assistive technology (screen readers and screen magnification) on a high fidelity form prototype.
More details in the findings report (Google docs 🔒).
Recommendations for next steps
0
for single-digit dates.Next steps
The text was updated successfully, but these errors were encountered: