From daeff64434e24e33182d9758816178a2ee8c6632 Mon Sep 17 00:00:00 2001 From: Rebecca Alpert Date: Fri, 7 Feb 2025 11:43:48 -0500 Subject: [PATCH] fix(AttachButton): Hide input from screenreaders (#426) There is a required input for react-dropzone. We should hide it from screenreaders since it's not something users can interact with. --- .../extensions/chatbot/examples/UI/ChatbotMessageBarAttach.tsx | 2 +- .../extensions/chatbot/examples/demos/ChatbotAttachmentMenu.tsx | 2 +- packages/module/src/MessageBar/AttachButton.tsx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/module/patternfly-docs/content/extensions/chatbot/examples/UI/ChatbotMessageBarAttach.tsx b/packages/module/patternfly-docs/content/extensions/chatbot/examples/UI/ChatbotMessageBarAttach.tsx index 0a00d404..9046e5bd 100644 --- a/packages/module/patternfly-docs/content/extensions/chatbot/examples/UI/ChatbotMessageBarAttach.tsx +++ b/packages/module/patternfly-docs/content/extensions/chatbot/examples/UI/ChatbotMessageBarAttach.tsx @@ -126,7 +126,7 @@ export const ChatbotMessageBarDefaultAttachExample: React.FunctionComponent = () return ( <> {/* this is required for react-dropzone to work in Safari and Firefox */} - + { return ( <> {/* this is required for react-dropzone to work in Safari and Firefox */} - + = ({ return ( <> {/* this is required for react-dropzone to work in Safari and Firefox */} - +