-
Notifications
You must be signed in to change notification settings - Fork 921
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 - File input: Evaluate sample label copy #5211
Comments
After taking a closer look at this, the texts that say "Input accepts a single file," "Input accepts only specific file types," (and other similar directives on the page) are not actually functioning as labels for the related input. They function as sub-headings within the Component Preview section. Proposed solutions:
I realize this is a bit of a rogue insight @amyleadem , so let's discuss! |
I'll schedule time with you @amyleadem so we can chat about this. |
we decided to go with the H2 solution |
Approach has been decided. The work is being completed here:
|
Summary
In the file input component examples, the demo
label
text should be a helpful example that can be used in the real world. However, the samplelabel
text in our component demos do not provide particularly helpful information about the related input. For example, the default file input example has a label of "Input accepts a single file". We should evaluate if there is an opportunity to improve this text and provide more helpful real-world examples.Expected behavior
Input
label
elements should describe the purpose of the related input. Additionally, the label can also provide instructions to the user about how to enter information into the input (example: date format type)The text was updated successfully, but these errors were encountered: