Compare commits

..

1 Commits

Author SHA1 Message Date
Sampath
49576f1e80 Screen reader name for the 'enable copilot' and 'disable copilot' has been changed 2023-11-20 21:13:12 +05:30
3 changed files with 2 additions and 5 deletions

View File

@@ -53,9 +53,7 @@ export const WelcomeModal = ({ visible }: { visible: boolean }): JSX.Element =>
</Stack> </Stack>
<Stack horizontalAlign="center"> <Stack horizontalAlign="center">
<Stack.Item align="center" style={{ textAlign: "center" }}> <Stack.Item align="center" style={{ textAlign: "center" }}>
<Text className="title bold" as={"h1"}> <Text className="title bold">Welcome to Microsoft Copilot for Azure in Cosmos DB (preview)</Text>
Welcome to Microsoft Copilot for Azure in Cosmos DB (preview)
</Text>
</Stack.Item> </Stack.Item>
<Stack.Item align="center" className="text"> <Stack.Item align="center" className="text">
<Stack horizontal> <Stack horizontal>

View File

@@ -76,7 +76,6 @@ exports[`Query Copilot Welcome Modal snapshot test should render when isOpen is
} }
> >
<Text <Text
as="h1"
className="title bold" className="title bold"
> >
Welcome to Microsoft Copilot for Azure in Cosmos DB (preview) Welcome to Microsoft Copilot for Azure in Cosmos DB (preview)

View File

@@ -444,7 +444,7 @@ export default class QueryTabComponent extends React.Component<IQueryTabComponen
this._toggleCopilot(!this.state.copilotActive); this._toggleCopilot(!this.state.copilotActive);
}, },
commandButtonLabel: this.state.copilotActive ? "Disable Copilot" : "Enable Copilot", commandButtonLabel: this.state.copilotActive ? "Disable Copilot" : "Enable Copilot",
ariaLabel: "Copilot", ariaLabel: this.state.copilotActive ? "Disable Copilot" : "Enable Copilot",
hasPopup: false, hasPopup: false,
}; };
buttons.push(toggleCopilotButton); buttons.push(toggleCopilotButton);