react-split-pane
Version:
React split-pane component with hooks and TypeScript
18 lines • 657 B
TypeScript
/**
* Announce a message to screen readers.
* SSR-safe: no-op when document is not available.
*/
export declare function announce(message: string, priority?: 'polite' | 'assertive'): void;
/**
* Format size for screen reader announcement
*/
export declare function formatSizeForAnnouncement(size: number): string;
/**
* Generate accessible label for divider
*/
export declare function getDividerLabel(index: number, direction: 'horizontal' | 'vertical'): string;
/**
* Get keyboard instructions for divider
*/
export declare function getKeyboardInstructions(direction: 'horizontal' | 'vertical'): string;
//# sourceMappingURL=accessibility.d.ts.map