Skip to content

Commit

Permalink
updated instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
oksanashopify committed Mar 5, 2024
1 parent 368475d commit fa8012a
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -147,4 +147,5 @@ To upload a file with the keyboard, merchants can interact with the drag-and-dro
- To give the input keyboard focus, use the <kbd>tab</kbd> key (or <kbd>shift</kbd> + <kbd>tab</kbd> when tabbing backwards)
- To activate the input, use the <kbd>enter</kbd>/<kbd>return</kbd> or <kbd>space</kbd> keys

By opting for a personalized Modal over the default File Dialog using `onClick`, we can maintain consistent user experience when navigating via keyboard by utilizing the `dragAndDropOnly` property. This feature can be useful when the `children` property of DropZone acts as the custom Modal trigger, provides When navigating with a keyboard, the child element serves as the modal activator and provides accessibility and custom desight features and both components are utilized within a confined space.
By opting for a personalized Modal over the default File Dialog using `onClick`, we can maintain consistent user experience when navigating via keyboard by utilizing the `dragAndDropOnly` property.
This feature can be useful when DropZone implemented within confined space and the `children` property acts as the custom Modal trigger providing accessibility and custom design features.

0 comments on commit fa8012a

Please sign in to comment.