function getHintId(fieldId) {
  return "".concat(fieldId, "__hint");
}
function getErrorId(fieldId) {
  return "".concat(fieldId, "__error");
}
function getErrorAriaLiveAttribute(validationMode) {
  if (validationMode === "focus") {
    return "assertive";
  }

  if (validationMode === "change") {
    return "polite";
  }

  return undefined;
}

export { getErrorAriaLiveAttribute, getErrorId, getHintId };
//# sourceMappingURL=index.esm.js.map
