role of heading has been added to the text that is visually appearing… (#1701)

* role of heading has been added to the text that is visually appearing as heading

* Update WelcomeModal.test.tsx.snap
This commit is contained in:
MokireddySampath 2024-01-23 00:08:27 +05:30 committed by GitHub
parent 323305e485
commit eb790d09b5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 2 deletions

View File

@ -50,7 +50,9 @@ 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">Welcome to Microsoft Copilot for Azure in Cosmos DB</Text> <Text className="title bold" as={"h1"}>
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

@ -67,9 +67,10 @@ 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 Welcome to Microsoft Copilot for Azure in Cosmos DB (preview)
</Text> </Text>
</StackItem> </StackItem>
<StackItem <StackItem