File Upload
File upload lets users choose one or more files from their device storage and upload it. This input control is commonly found in forms, but can also serve as a standalone element.
Guidelines for using file upload
Single upload is the default. Accept multiple files by using the “multiple” attribute.
Be sure to include a label with helper text if there are any restrictions (such as file type or size) that the user should know.
Relevant WCAG guidelines
Code example
See
example pen by U-M Library Design System (@umlibrary-designsystem)
on CodePen.