• Check if an element is tabbable (visible and either interactive or non-negative tabindex). This does not include programatically focusable elements.

    Parameters

    • element: Element

      An Element for which to test focusability.

    Returns boolean

    true if the element is focusable, otherwise false.