fix(a11y): include alias name in delete button aria-label
Screen readers now announce which alias is being deleted, e.g. "Entfernen de Gruyter" instead of just "Entfernen". Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -125,7 +125,7 @@ async function addAlias() {
|
||||
<button
|
||||
type="button"
|
||||
onclick={() => confirmDelete(alias.id)}
|
||||
aria-label={m.person_alias_btn_delete()}
|
||||
aria-label="{m.person_alias_btn_delete()} {alias.lastName}"
|
||||
class="ml-4 inline-flex min-h-[44px] min-w-[44px] items-center justify-center text-red-400 transition-colors hover:text-red-600"
|
||||
>
|
||||
<svg
|
||||
|
||||
Reference in New Issue
Block a user