[bugfix] Fix a11y property warning from authorization page (#4166)

Use correct input-field identifier for authorization page email label. This seemed to be only instance where label was broken, other labels either had correct for-identifier or enclosed the input which they are labeling.

closes #4165

Reviewed-on: https://codeberg.org/superseriousbusiness/gotosocial/pulls/4166
Co-authored-by: Iivari Äikäs <iivari.aikas@gmail.com>
Co-committed-by: Iivari Äikäs <iivari.aikas@gmail.com>
This commit is contained in:
Iivari Äikäs 2025-05-11 11:51:30 +00:00 committed by tobi
commit 6b6946f42a

View file

@ -23,7 +23,7 @@
<h2 id="sign-in">Sign in</h2>
<form action="/auth/sign_in" method="POST">
<div class="labelinput">
<label for="email">Email</label>
<label for="username">Email</label>
<input
type="email"
name="username"