@benmarch/a11y-toolkit
    Preparing search index...

    Function isFocusable

    • Determines as best as possible whether a given element can hold focus. This is different than any element with a focus() method as most elements will do nothing interesting when focus() is called. This is to determine if focus() is worth calling.

      Parameters

      • element: Elemental

        An element to check whether it is focusable

      Returns boolean

      boolean