Type Alias A11yFocusSource
type 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;
}
Properties
Optionaldebug
debug?: boolean
When true logs to console the actions taken in A11yHelper.applyFocusSource.
OptionalfocusEl 
List of targets to attempt to focus.
Optionalsource
source?: string
The source of the event: 'keyboard' for instance.
Optionalx
x?: number
Potential X coordinate of initial event.
Optionaly
y?: number
Potential 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.