From 7be4e866c7463d0bb5fd3c6dbaf0b3e5d4672ace Mon Sep 17 00:00:00 2001 From: Tanner Summers Date: Thu, 13 Jan 2022 16:31:32 -0600 Subject: [PATCH] fix(fileuploaderdropcontainer): moved input out of label to fix a11y bug --- .../FileUploader/FileUploaderDropContainer.js | 30 +++++++++---------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/packages/react/src/components/FileUploader/FileUploaderDropContainer.js b/packages/react/src/components/FileUploader/FileUploaderDropContainer.js index 72f858202b57..805ee8b6f38c 100644 --- a/packages/react/src/components/FileUploader/FileUploaderDropContainer.js +++ b/packages/react/src/components/FileUploader/FileUploaderDropContainer.js @@ -116,22 +116,22 @@ function FileUploaderDropContainer({
{labelText}
- { - evt.target.value = null; - }} - /> + { + evt.target.value = null; + }} + /> ); }