// Seeds ARIA attributes so Solid 2's DOM spread keeps the key in `ownKeys`
// from render 1 — see `test/internals/merge-props-undefined-attr.test.tsx`.

export function ariaLabelledBy(read) {
  return {
    get "aria-labelledby"() {
      return read() ?? "";
    }
  };
}
export function ariaDescribedBy(read) {
  return {
    get "aria-describedby"() {
      return read() ?? "";
    }
  };
}
export function ariaInvalid(read) {
  return {
    get "aria-invalid"() {
      const v = read();
      if (v === undefined) return undefined;
      return v ? "true" : "false";
    }
  };
}
//# sourceMappingURL=seed-aria-attr.jsx.map
