fix(persons): label rename fields with dedicated first/last-name keys

The triage rename form reused persons_filter_type_person ("Person") and
persons_section_details ("Angaben zur Person") as the first/last-name field
labels, so a screen reader announced the wrong name for each input. Add
dedicated persons_field_first_name / persons_field_last_name keys (de/en/es)
and use them.

Refs #667

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
Marcel
2026-05-27 14:11:32 +02:00
parent 79e9cc5a2b
commit 98f8c0129a
4 changed files with 8 additions and 2 deletions

View File

@@ -99,7 +99,7 @@ const deleteBtn =
<input type="hidden" name="id" value={person.id} />
<input type="hidden" name="personType" value={person.personType ?? 'PERSON'} />
<label class="flex flex-col gap-1 text-sm">
<span class="font-sans text-ink-2">{m.persons_filter_type_person()}</span>
<span class="font-sans text-ink-2">{m.persons_field_first_name()}</span>
<input
name="firstName"
bind:value={renameFirstName}
@@ -107,7 +107,7 @@ const deleteBtn =
/>
</label>
<label class="flex flex-1 flex-col gap-1 text-sm">
<span class="font-sans text-ink-2">{m.persons_section_details()}</span>
<span class="font-sans text-ink-2">{m.persons_field_last_name()}</span>
<input
name="lastName"
required