import { ref as r, onMounted as s, nextTick as i } from "vue";
function v({ config: t }) {
  var u;
  const e = r(null), a = (t == null ? void 0 : t.text) || "Chart visualization", l = ((u = t == null ? void 0 : t.subtitle) == null ? void 0 : u.text) || "";
  return s(() => {
    i(() => {
      e.value && (e.value.setAttribute("aria-label", `${a}${l ? `. ${l}` : ""}`), e.value.setAttribute("role", "img"), e.value.setAttribute("aria-live", "polite"));
    });
  }), { svgRef: e };
}
export {
  v as u
};
