handling link keyboard events.