when modal opens, the first input field now gets focus

This commit is contained in:
eclipse 2025-05-02 11:54:58 +02:00
parent 6c24af2be4
commit f3fcb8e26e
4 changed files with 4 additions and 4 deletions

View File

@ -88,7 +88,7 @@
<article>
<label>
Sprache (erforderlich)
<input id="form_Sprache" name="form_Sprache" aria-Label="Sprache" placeholder="Sprache" required />
<input id="form_Sprache" name="form_Sprache" aria-Label="Sprache" placeholder="Sprache" required autofocus />
</label>
</article>
</fieldset>

View File

@ -119,7 +119,7 @@
<article>
<label>
Titel (erforderlich)
<input id="form_Titel" name="form_Titel" aria-Label="Titel" placeholder="Titel" required />
<input id="form_Titel" name="form_Titel" aria-Label="Titel" placeholder="Titel" required autofocus />
</label>
<label>
Untertitel

View File

@ -88,7 +88,7 @@
<article>
<label>
Verlagsname (erforderlich)
<input id="form_Verlag" name="form_Verlag" aria-Label="Verlagsname" placeholder="Verlagsname" required />
<input id="form_Verlag" name="form_Verlag" aria-Label="Verlagsname" placeholder="Verlagsname" required autofocus />
</label>
</article>
</fieldset>

View File

@ -123,7 +123,7 @@
<article>
<label>
Titel (erforderlich)
<input id="form_Titel" name="form_Titel" aria-label="Titel" placeholder="Titel" required />
<input id="form_Titel" name="form_Titel" aria-label="Titel" placeholder="Titel" required autofocus />
</label>
</article>