Type Alias A11yFocusSource
A11yFocusSource : {
debug?: boolean;
focusEl?: Iterable<FocusableElement | string>;
source?: string;
x?: number;
y?: number;
}
debug?: boolean;
focusEl?: Iterable<FocusableElement | string>;
source?: string;
x?: number;
y?: number;
}
Type declaration
Optional
debug?: booleanWhen true logs to console the actions taken in A11yHelper.applyFocusSource.
Optional
focusEl ?: Iterable<FocusableElement | string>List of targets to attempt to focus.
Optional
source?: stringThe source of the event: 'keyboard' for instance.
Optional
x?: numberPotential X coordinate of initial event.
Optional
y?: numberPotential Y coordinate of initial event.
Provides essential data to return focus to an HTMLElement / SVGElement after a series of UI actions like working with context menus and modal dialogs.