( index: number, direction: 'horizontal' | 'vertical' )
| 44 | * Generate accessible label for divider |
| 45 | */ |
| 46 | export function getDividerLabel( |
| 47 | index: number, |
| 48 | direction: 'horizontal' | 'vertical' |
| 49 | ): string { |
| 50 | const orientation = direction === 'horizontal' ? 'vertical' : 'horizontal'; |
| 51 | return `${orientation} divider ${index + 1}`; |
| 52 | } |
| 53 | |
| 54 | /** |
| 55 | * Get keyboard instructions for divider |
no outgoing calls
no test coverage detected
searching dependent graphs…