role has been changed to heading (#1453)

* arialabel has been added to close button of invitational youtube video

* heading role has been addedd and tag has been changed to h1

* Update QuickstartCarousel.tsx

* Update QuickstartCarousel.tsx

* Update SplashScreen.tsx
This commit is contained in:
MokireddySampath 2023-07-27 07:30:27 +05:30 committed by GitHub
parent 655b998b84
commit 8ea8f0230f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -246,8 +246,9 @@ export class SplashScreen extends React.Component<SplashScreenProps> {
<form className="connectExplorerFormContainer"> <form className="connectExplorerFormContainer">
<div className="splashScreenContainer"> <div className="splashScreenContainer">
<div className="splashScreen"> <div className="splashScreen">
<div <h1
className="title" className="title"
role="heading"
aria-label={ aria-label={
userContext.apiType === "Postgres" userContext.apiType === "Postgres"
? "Welcome to Azure Cosmos DB for PostgreSQL" ? "Welcome to Azure Cosmos DB for PostgreSQL"
@ -258,7 +259,7 @@ export class SplashScreen extends React.Component<SplashScreenProps> {
? "Welcome to Azure Cosmos DB for PostgreSQL" ? "Welcome to Azure Cosmos DB for PostgreSQL"
: "Welcome to Azure Cosmos DB"} : "Welcome to Azure Cosmos DB"}
<FeaturePanelLauncher /> <FeaturePanelLauncher />
</div> </h1>
<div className="subtitle"> <div className="subtitle">
{userContext.apiType === "Postgres" {userContext.apiType === "Postgres"
? "Get started with our sample datasets, documentation, and additional tools." ? "Get started with our sample datasets, documentation, and additional tools."