I need to find a way to determine if a link has been activated via a mouse click or a keypress.
Handle the mouseup event. If you get a click right afterwards, it was probably done with the mouse.
mouseup
click