function getFocusableElements(element) {
  const focusableSelector =
    `button:not([disabled]), input:not([disabled]), select:not([disabled]),
    textarea:not([disabled]), button:not([disabled]), [href]`;
  return element.querySelectorAll(focusableSelector);
}
Returns all the focusable elements within the provided dom element.
@param {HTMLElement} element - The element to get the focusable elements from.
@returns {NodeList<HTMLElement>} - The focusable elements within the provided element.