From c597a0de9e9f1a4c84a1d934dfec13f818bd354b Mon Sep 17 00:00:00 2001 From: Gabe Kangas Date: Mon, 19 Dec 2022 21:48:57 -0800 Subject: [PATCH] Add accessibility properties to chat text input. Closes #2444 --- web/components/chat/ChatTextField/ChatTextField.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/web/components/chat/ChatTextField/ChatTextField.tsx b/web/components/chat/ChatTextField/ChatTextField.tsx index 9c97f3f0f..768fba7bb 100644 --- a/web/components/chat/ChatTextField/ChatTextField.tsx +++ b/web/components/chat/ChatTextField/ChatTextField.tsx @@ -256,6 +256,8 @@ export const ChatTextField: FC = ({ defaultText }) => { renderElement={renderElement} placeholder="Send a message to chat" style={{ width: '100%' }} + role="textbox" + aria-label="Chat text input" autoFocus />