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 0c9a433 commit 368475d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -147,4 +147,4 @@ 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 choose to maintain consistent user experience when navigating via keyboard. Integrate the `dragAndDropOnly` attribute along with a customized `onClick` callback. This feature can be useful when the `children` property of DropZone acts as the custom Modal trigger, 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 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.

0 comments on commit 368475d

Please sign in to comment.