Function findTabbableElements

  • Find all visible and tabbable elements.

    Parameters

    • root: Document | HTMLElement

      Element or document to find tabbable elements in.

    Returns HTMLElement[]

    List of matching elements