Describe the issue
Visiting https://www.w3.org/groups/wg/ (but the same occurs on the page for IGs or CGs),
when I CTRL+click on the link for a given group,
it opens in a new tab BUT the current tab also navigates to group's page.
To reproduce
see above
Expected behavior
The origin tab should stay on the group list.
Screenshots
N/A
Additional context
I understand that the intent is to make clicks on the card behave like clicks on the link.
I experimented with an alternative way of achieving that, while preserving the "modifiers" on the click.
The event handler would have to look like that:
function(ev) {
var someTextSelected = window.getSelection().toString();
if (ev.redispatched || someTextSelected) {
return; // ignore
}
var ev2 = new MouseEvent("click", ev);
ev2.redispatched = true;
mainLink.dispatchEvent(ev2);
}
Describe the issue Visiting https://www.w3.org/groups/wg/ (but the same occurs on the page for IGs or CGs), when I CTRL+click on the link for a given group, it opens in a new tab BUT the current tab also navigates to group's page.
To reproduce see above
Expected behavior The origin tab should stay on the group list.
Screenshots N/A
Additional context I understand that the intent is to make clicks on the card behave like clicks on the link. I experimented with an alternative way of achieving that, while preserving the "modifiers" on the click. The event handler would have to look like that: