From 4156009d09bfb46d1d7db8f901114350fdbabdaa Mon Sep 17 00:00:00 2001 From: SATYA SB <107645008+satya07sb@users.noreply.github.com> Date: Fri, 31 Jan 2025 10:44:32 +0530 Subject: [PATCH] [Screen reader - Cosmos DB Query Copilot - Query Faster with Copilot>Enable Query Advisor]: Screen reader does not announce status information which appears on invoking the 'Send' button. (#2002) * [accessibility-3549715]: [Screen reader - Cosmos DB Query Copilot - Query Faster with Copilot>Enable Query Advisor]: Screen reader does not announce status information which appears on invoking the 'Send' button. * [accessibility-3549715]:[Screen reader - Cosmos DB Query Copilot - Query Faster with Copilot>Enable Query Advisor]: Screen reader does not announce status information which appears on invoking the 'Send' button. --------- Co-authored-by: Satyapriya Bai --- src/Explorer/QueryCopilot/QueryCopilotPromptbar.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/Explorer/QueryCopilot/QueryCopilotPromptbar.tsx b/src/Explorer/QueryCopilot/QueryCopilotPromptbar.tsx index a17f52778..393b766a6 100644 --- a/src/Explorer/QueryCopilot/QueryCopilotPromptbar.tsx +++ b/src/Explorer/QueryCopilot/QueryCopilotPromptbar.tsx @@ -305,7 +305,7 @@ export const QueryCopilotPromptbar: React.FC = ({ if (isGeneratingQuery === null) { return " "; } else if (isGeneratingQuery) { - return "Content is loading"; + return "Thinking"; } else { return "Content is updated"; } @@ -400,6 +400,7 @@ export const QueryCopilotPromptbar: React.FC = ({ startGenerateQueryProcess()} aria-label="Send" @@ -706,6 +707,9 @@ export const QueryCopilotPromptbar: React.FC = ({ )} )} + {(showFeedbackBar || isGeneratingQuery) && ( + + )} {isGeneratingQuery && (