We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 19be67e commit dc18d88Copy full SHA for dc18d88
src/design-system/side-drawer/side-drawer-content-header.component.tsx
@@ -1,5 +1,8 @@
1
import React from 'react';
2
3
+import { DialogTitle } from '@radix-ui/react-dialog';
4
+import { VisuallyHidden } from '@radix-ui/react-visually-hidden';
5
+
6
import { Box } from '../box';
7
import { Flex } from '../flex';
8
import * as NavigationButtons from '../navigation-buttons';
@@ -32,6 +35,9 @@ export const Header = ({
32
35
</Flex>
33
36
)}
34
37
<Flex justifyContent="center" w="$fill">
38
+ <VisuallyHidden>
39
+ <DialogTitle>{text}</DialogTitle>
40
+ </VisuallyHidden>
41
<Text.Body.Large weight="$bold" data-testid="drawer-header-title">
42
{text}
43
</Text.Body.Large>
0 commit comments