- Docs
- Components
- Forms
File upload
Choose or drop files: a drop zone over the browser's own file input, each upload with its status.
- Import
- @qeetrix/react/experimental
- Status
- ExperimentalSince 0.0.6
- Renders
<input type="file">Server-rendered- Tested
- WCAG 2.2 AAaxe on every pull request
01
Keyboard
| Keys | What happens |
|---|---|
| TabTab | To the file input, then to each file's remove. |
| EnterSpace | Opens the system's file chooser. |
02
Behaviour
- A real input
- The browser's own file control: keyboard and screen readers get it as it is.
- Name
- Its Field's label, description and error link to the input.
- Rejections
- Files that don't pass are listed with the reason, in words.
03
Tested
On every change, before it ships.
- axe, WCAG 2.2 A and AA, in Chromium on every pull request
- Firefox and WebKit every night
- Forced colours, reduced motion and right to left
- Every field shares one height and edge: a test checks them together