Skip to content

Commit ce595bf

Browse files
committed
fixup! ✨(frontend) make components accessible to screen readers
1 parent b7e118c commit ce595bf

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
@@ -11,7 +11,7 @@ import { css } from 'styled-components';
1111

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

1616
export type DropdownMenuOption = {
1717
icon?: string;
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)