UNPKG

react-native-a11y

Version:

Improvements of a11y for ReactNative, this library improve work with reader and keyboard focus and reader in general.

18 lines (17 loc) 907 B
import type { A11yOrderInfo, IA11yModule, RefObjType, StatusCallback } from "./A11yModule.types"; import * as RCA11yModule from "./RCA11yModule"; declare class A11yModuleIOSImpl implements IA11yModule { private _currentFocusedTag; set currentFocusedTag(value: number); isKeyboardConnected: typeof RCA11yModule.isKeyboardConnected; keyboardStatusListener: (callback: StatusCallback) => () => void; announceForAccessibility: (announcement: string) => void; announceScreenChange: (announcement: string) => void; setA11yFocus: (ref: RefObjType) => void; setPreferredKeyboardFocus: (tag: number, targetTag: number) => void; setKeyboardFocus: (ref: RefObjType) => void; focusFirstInteractiveElement: (refToFocus?: RefObjType) => void; setA11yElementsOrder: <T>({ tag, views }: A11yOrderInfo<T>) => void; } export declare const A11yModule: A11yModuleIOSImpl; export {};