Blazor File Upload - Keyboard Navigation
File Upload functionalities can be interactive with keyboard shortcuts. In the below sample, various key combinations can be used to interact with File Upload.
Or drop files here
The File Upload supports the following keyboard shortcuts to initiate various actions.
- Focus
- Alt + J - Focuses on the first component of the sample.
- Selection
- Enter - Triggers the corresponding action to the button element.
- Navigation
- Tab - Moves focus to the next element.
- Shift + Tab - Moves focus to the previous element.
- Esc - Closes the file browser dialog alone and cancels the upload when the file is dropped.