How to get pop or a context menu on a link

I want to have something like a pop up on top of a link to show there is something wrong with that link and populate the pop up with a description of the reason why this link is not working.

https://gojs.net/latest/intro/toolTips.html
https://gojs.net/latest/intro/contextMenus.html