Skip to main content

What are you looking for?

Try searching for…

Components

File upload

File upload is a form element used to upload files.

We are working to improve the accessibility documentation for this component. If you have questions or see something that should be prioritised, please contact us on Github or Slack.

File upload must always have a visible <label> associated with it through <ds-field>, so that screen readers can communicate what should be uploaded. Use <p data-field="description"> to describe allowed file formats and sizes, so the user receives this information before uploading.

Edit this page on github.com (opens in a new tab)