The only good way I found was to use Javascript to move a tooltip <div>
around. Obviously this only works if you have SVG inside an HTML document - not standalone. And it requires Javascript.
function showTooltip(evt, text) {_x000D_
let tooltip = document.getElementById("tooltip");_x000D_
tooltip.innerHTML = text;_x000D_
tooltip.style.display = "block";_x000D_
tooltip.style.left = evt.pageX + 10 + 'px';_x000D_
tooltip.style.top = evt.pageY + 10 + 'px';_x000D_
}_x000D_
_x000D_
function hideTooltip() {_x000D_
var tooltip = document.getElementById("tooltip");_x000D_
tooltip.style.display = "none";_x000D_
}
_x000D_
#tooltip {_x000D_
background: cornsilk;_x000D_
border: 1px solid black;_x000D_
border-radius: 5px;_x000D_
padding: 5px;_x000D_
}
_x000D_
<div id="tooltip" display="none" style="position: absolute; display: none;"></div>_x000D_
_x000D_
<svg>_x000D_
<rect width="100" height="50" style="fill: blue;" onmousemove="showTooltip(evt, 'This is blue');" onmouseout="hideTooltip();" >_x000D_
</rect>_x000D_
</svg>
_x000D_