Type Alias FocusableElementOptions
FocusableElementOptions: {
anchorHref?: boolean;
ignoreClasses?: Iterable<string>;
ignoreElements?: Set<Element>;
parentHidden?: boolean;
selectors?: string;
}
anchorHref?: boolean;
ignoreClasses?: Iterable<string>;
ignoreElements?: Set<Element>;
parentHidden?: boolean;
selectors?: string;
}
Type declaration
Optional
anchorHref?: booleanWhen true anchors must have an HREF; default:
true
.Optional
ignoreClasses?: Iterable<string>Iterable list of classes to ignore elements.
Optional
ignoreElements?: Set<Element>Set of elements to ignore.
Optional
parentHidden?: booleanWhen true elements with hidden parents will be removed; default:
false
.Optional
selectors?: stringCustom list of focusable selectors for
querySelectorAll
.
Options for A11yHelper.getFirstFocusableElement, A11yHelper.getFocusableElements, and A11yHelper.getLastFocusableElement.