I am using a multiple choice view to allow annotators to choose the best candidate for entity linking.
{"view_id":"choice"}
In order to choose the best candidate, each choice includes a paragraph and a link, like so
Currently if an annotator clicks on the the link, it is opened in a new tab but the choice is also automatically ticked due to an EventListener attached to the entire choice box.
I was trying to inject some JS into the <a> tag in order to prevent that but I cannot get it to work.
Following this thread, they seem to argue that one can prevent the event from triggering the parent.
I'm happy to hear you've found a way to get it working.
I guess a small note on my end; it might be a good idea to use a custom HTML template here that just renders the text such that the candidates are underlined and wrapped in an <a href=""> tag. That way, the element that allows you to select the candidate is different from the element that assigns the annotation.