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
Optionaldebug?: booleanWhen true logs to console the actions taken in A11yHelper.applyFocusSource.
OptionalfocusEl ?: Iterable<FocusableElement | string>List of targets to attempt to focus.
Optionalsource?: stringThe source of the event: 'keyboard' for instance.
Optionalx?: numberPotential X coordinate of initial event.
Optionaly?: 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.