<p></p>
<h3 dir="auto">URL</h3>
<p dir="auto"><em>No response</em></p>
<h3 dir="auto">How to reproduce the issue?</h3>
<p dir="auto">There is some odd behaviour with selecting the reason for reporting a user.<br>
(alt. reporting a note, I haven't tried this for this issue)</p>
<ol dir="auto">
<li>Go to someone's user profile</li>
<li>Click "Report user"</li>
<li>Navigate to a report reason using <code class="notranslate">Tab</code>. The first choice is not selected yet.</li>
<li>Press the <code class="notranslate">Down</code> arrow key. The second choice will be automaticly selected.</li>
<li>Press the <code class="notranslate">Up</code> arrow key. The first choice will now be selected.</li>
</ol>
<hr>
<p dir="auto"><strong>Current behaviour</strong> (focus, but no automatic selection for the first choice)<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/67521919/194767855-1ca74255-fedb-46db-a657-0393f01fcd24.png"><img src="https://user-images.githubusercontent.com/67521919/194767855-1ca74255-fedb-46db-a657-0393f01fcd24.png" alt="image" style="max-width: 100%;"></a></p>
<hr>
<p dir="auto"><strong>Expected behaviour</strong><br>
Either</p>
<ul dir="auto">
<li>The choice is automaticly selected like all others; or</li>
<li>none of the choices are automaticly selected -and have to be selected manually using the arrow keys and space / enter.</li>
</ul>
<hr>
<ol start="4" dir="auto">
<li>
<p dir="auto">(instead) Press <code class="notranslate">Space</code> on the first choice. The first choice will now be selected.<br>
(Noteably, <code class="notranslate">Space</code> does not have to be pressed for the other choices.)</p>
</li>
<li>
<p dir="auto">(instead) Press <code class="notranslate">Enter</code> on the first choice. Instead of selecting the first choice, the message preview is toggled on / off, while the message preview button is not in focus.<br>
(Noteably, pressing <code class="notranslate">Enter</code> on any other choice does the same thing.)</p>
</li>
</ol>
<hr>
<p dir="auto"><strong>Current behaviour</strong> (focus, but instead of selecting the first choice, toggles the message preview)<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/67521919/194767884-de33c782-ff24-4c35-9210-6a8b35415101.png"><img src="https://user-images.githubusercontent.com/67521919/194767884-de33c782-ff24-4c35-9210-6a8b35415101.png" alt="image" style="max-width: 100%;"></a></p>
<hr>
<p dir="auto"><strong>Expected behaviour</strong><br>
Either</p>
<ul dir="auto">
<li>The Enter key selects the first choice like the Space key -and not the message preview-; or</li>
<li>neither the Enter, nor Space key have to be pressed to select the first choice (as previously outlined).</li>
</ul>
<p dir="auto">(Windows 7 Chrome)</p>
<h3 dir="auto">Screenshot(s) or anything else?</h3>
<p dir="auto"><em>No response</em></p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/issues/3749">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLNMSCYU5IL55WQUPV3WCLXHRANCNFSM6AAAAAARAYFATA">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLLOYVCLY3ETZLW3JLDWCLXHRA5CNFSM6AAAAAARAYFATCWGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHFHFOMRM.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><openstreetmap/openstreetmap-website/issues/3749</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/issues/3749",
"url": "https://github.com/openstreetmap/openstreetmap-website/issues/3749",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>