Type Alias FocusableElementOptions

type FocusableElementOptions = {
    anchorHref?: boolean;
    ignoreClasses?: Iterable<string>;
    ignoreElements?: Set<Element>;
    parentHidden?: boolean;
    selectors?: string;
}
Index

Properties

anchorHref?: boolean

When true anchors must have an HREF; default: true.

ignoreClasses?: Iterable<string>

Iterable list of classes to ignore elements.

ignoreElements?: Set<Element>

Set of elements to ignore.

parentHidden?: boolean

When true elements with hidden parents will be removed; default: false.

selectors?: string

Custom list of focusable selectors for querySelectorAll.