From a59a907df68d5aebbbbd000a4da7faf969ca5254 Mon Sep 17 00:00:00 2001 From: Rebecca Alpert Date: Tue, 4 Feb 2025 10:59:51 -0500 Subject: [PATCH] fix(AttachButton): Hide input from screenreaders 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 0a00d404a..9046e5bde 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 */} - +