<!DOCTYPE html>
<meta charset="utf-8">
<title>Forced colors mode - visited caret-color.</title>
<style>
  a {
    caret-color: VisitedText;
    forced-color-adjust: none;
  }
  [contenteditable] {
    outline: none;
  }
</style>
<a id="link" contenteditable href="">link</a>
<script>
  window.onload = function() {
    document.getElementById("link").focus();
  }
</script>

