File Uploader

File uploaders allow users to upload files to a server

Use Cases

  • Users should be able to:
  • Navigate to and activate a file uploader with assistive technology
  • Select files to upload
  • Receive feedback on the status of the upload

Interaction & Style

Changes to color and thickness of stroke help provide clear visual cues for interaction.

Keyboard Navigation

KeysActions
TabFocus lands on (non-disabled) input
EnterOpens the file dialog to select a file to upload
SpaceOpens the file dialog to select a file to upload

Labeling Elements

If the UI text is correctly linked, assistive tech (such as a screenreader) will read the UI text followed by the component's role.

The accessibility label for a input is typically the same as the label for the input.