From c7e4baff75a15047983321098b37867d773dc9fd Mon Sep 17 00:00:00 2001 From: Tobias Skarhed <1438972+tskarhed@users.noreply.github.com> Date: Tue, 9 Apr 2024 18:15:44 +0200 Subject: [PATCH] Explore: Add h1 for screen readers (#85794) * Add h1 in Explore for screen readers * Add i18n * Move to ExplorePage --- public/app/features/explore/ExplorePage.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/public/app/features/explore/ExplorePage.tsx b/public/app/features/explore/ExplorePage.tsx index 11999d6554d..f66bc25a8d6 100644 --- a/public/app/features/explore/ExplorePage.tsx +++ b/public/app/features/explore/ExplorePage.tsx @@ -7,6 +7,7 @@ import { ErrorBoundaryAlert, useStyles2, useTheme2 } from '@grafana/ui'; import { SplitPaneWrapper } from 'app/core/components/SplitPaneWrapper/SplitPaneWrapper'; import { useGrafana } from 'app/core/context/GrafanaContext'; import { useNavModel } from 'app/core/hooks/useNavModel'; +import { Trans } from 'app/core/internationalization'; import { GrafanaRouteComponentProps } from 'app/core/navigation/types'; import { useDispatch, useSelector } from 'app/types'; import { ExploreQueryParams } from 'app/types/explore'; @@ -64,6 +65,9 @@ export default function ExplorePage(props: GrafanaRouteComponentProps<{}, Explor [styles.correlationsEditorIndicator]: showCorrelationEditorBar, })} > +

+ +

{showCorrelationEditorBar && }