Skip to content

Commit

Permalink
updates from feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
Fercas123 committed Dec 18, 2023
1 parent fafbff6 commit 0c26d7f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
6 changes: 0 additions & 6 deletions site/docs/components/file-drop-zone/accessibility.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,6 @@ data:
$ref: ./#/data
---

### Best practices

- Consider using the File Drop Zone within forms when it's necessary for users to attach supporting files.
- Make sure any limits, such as maximum file size and type restrictions, are communicated to users prior to upload. If an upload failure results, ensure that the reason for the error-and how to resolve it-are clearly explained.
- Inform users when files successfully upload to reassure them that the action has been completed.

### Keyboard interactions

<KeyboardControls>
Expand Down
1 change: 1 addition & 0 deletions site/docs/components/file-drop-zone/usage.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ data:
### Using the component

Make sure you communicate any limits, such as maximum file size and type restrictions, before the user uploads their file. If the upload fails, clearly explain the reason why and how to resolve it.

Inform users when files successfully upload to reassure them that the action has completed.

#### When to use
Expand Down

0 comments on commit 0c26d7f

Please sign in to comment.