Check if an element is focusable (visible and either interactive or with tabindex). This includes programatically focusable elements.
An Element for which to test focusability.
Element
true if the element is focusable, otherwise false.
true
false
Check if an element is focusable (visible and either interactive or with tabindex). This includes programatically focusable elements.