<p dir="auto">This is a problem with the documentation of threejs, not threejs itself, I got redirected by the <a href="https://webchat.freenode.net/?channels=three.js" rel="nofollow">IRC chat</a> by a red colored user "bai" to place this bug here.</p>
<h1 dir="auto">Steps:</h1>
<ol dir="auto">
<li>go to <a href="https://threejs.org/docs/index.html#api/lights/DirectionalLight" rel="nofollow">https://threejs.org/docs/index.html#api/lights/DirectionalLight</a></li>
<li>Press middle mouse button on any link on the page, for example <code class="notranslate">DirectionalLightShadow</code></li>
</ol>
<h1 dir="auto">Expection:</h1>
<p dir="auto">Since it has the pointer cursor, I expect the browser to open the page on a new tab</p>
<h1 dir="auto">Reality:</h1>
<p dir="auto">The browser executes the scroll using middle mouse button interaction</p>
<h1 dir="auto">Why is this a problem</h1>
<p dir="auto">This is a problem because when new developers come to the documentation, and seeing an first impression from breaking the UX flow most people are used with, is a bad sign and encourages new people to go away.</p>
<p dir="auto">Hi mrdoob/team,</p>
<p dir="auto">Many times while going through the documentation I would like to ctrl/cmd+click on links pointing to particular class documentation to open in new tab. Because the  elements don't even contain href attribute, it simply doesn't work. Similarly, I can't right click and "Open in new tab".</p>
<p dir="auto">I'm not providing an example because you can pick any documentation page and look for any documentation-linked class name to see the problem.</p>
<p dir="auto">The documentation of three.js is pretty good and I'm thankful! Just wondering if it'd not be too much work to perhaps update the onclick listener / setFragmentUrl function to consider if a modifier is pressed. (I understand the lack of href is because you want the doc page to be like an SPA).</p>
<p dir="auto">Thank you for your consideration and have a great day,<br>
Michal</p>