Any hyperlink capability would derive from the slippy map library you use, not from OSM. I assume https://www.openstreetmap.org/ is using such a capability, in, I presume, leaflet.js, to do that, in order to implement notes.