From d02f94d16d7ce992a1a4428273877f35368bce48 Mon Sep 17 00:00:00 2001 From: Tanner Summers Date: Mon, 24 Jan 2022 15:09:50 -0600 Subject: [PATCH] fix(fileuploaderdropcontainer): moved input out of label to fix a11y bug (#10444) Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com> --- .../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; + }} + /> ); }