Skip to content

Commit 3d6823b

Browse files
committed
fixup! ✨(frontend) make components accessible to screen readers
1 parent 6f80282 commit 3d6823b

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/frontend/apps/impress/src/components/DropdownMenu.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import { css } from 'styled-components';
1212

1313
import { Box, BoxButton, BoxProps, DropButton, Icon, Text } from '@/components';
1414
import { useCunninghamTheme } from '@/cunningham';
15-
import { useDropdownKeyboardNav } from '@/features/docs/doc-tree/hooks/useDropdownKeyboardNav';
15+
import { useDropdownKeyboardNav } from '@/hook/useDropdownKeyboardNav';
1616

1717
export type DropdownMenuOption = {
1818
icon?: string | ReactNode;
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
// src/features/docs/doc-tree/hooks/useDropdownKeyboardNav.ts
21
import { RefObject, useEffect } from 'react';
32

43
import { DropdownMenuOption } from '@/components/DropdownMenu';
54

6-
import { useKeyboardActivation } from './useKeyboardActivation';
5+
import { useKeyboardActivation } from '../features/docs/doc-tree/hooks/useKeyboardActivation';
76

87
type UseDropdownKeyboardNavProps = {
98
isOpen: boolean;

0 commit comments

Comments
 (0)