/**
 * Returns a boolean indicating if the event's target has :focus-visible
 */
function isFocusVisible(element) {
  try {
    return element.matches(':focus-visible');
  } catch (error) {
  }
  return false;
}

export { isFocusVisible as default };
//# sourceMappingURL=isFocusVisible.mjs.map
