Type Alias FocusableElementOptions

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

Type declaration

  • OptionalanchorHref?: boolean

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

  • OptionalignoreClasses?: Iterable<string>

    Iterable list of classes to ignore elements.

  • OptionalignoreElements?: Set<Element>

    Set of elements to ignore.

  • OptionalparentHidden?: boolean

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

  • Optionalselectors?: string

    Custom list of focusable selectors for querySelectorAll.