diff options
| author | Fuwn <[email protected]> | 2026-05-15 11:48:59 +0000 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2026-05-15 11:48:59 +0000 |
| commit | 9c77d2cb559757806b7fb30c5a63d1a2f99be22d (patch) | |
| tree | 78ed8ecffd36d46105de69897922193584ae0489 /src/lib/Tools/Birthdays.svelte | |
| parent | perf(transitions): narrow the universal * selector (diff) | |
| download | due.moe-9c77d2cb559757806b7fb30c5a63d1a2f99be22d.tar.xz due.moe-9c77d2cb559757806b7fb30c5a63d1a2f99be22d.zip | |
fix(a11y): drop redundant alts and the landing em dash
Replace generic alt="Avatar" / alt="Character" with empty alts on
images that visually duplicate a name already present as adjacent text
(Wrapped activity avatar, Hololive stream icon, three Birthdays
covers); screen readers stop announcing "Avatar" / "Character" twice.
Also swap the em dash in the landing subheadline for a comma per the
project copy rule.
Diffstat (limited to 'src/lib/Tools/Birthdays.svelte')
| -rw-r--r-- | src/lib/Tools/Birthdays.svelte | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Tools/Birthdays.svelte b/src/lib/Tools/Birthdays.svelte index a41064f9..3f02eb97 100644 --- a/src/lib/Tools/Birthdays.svelte +++ b/src/lib/Tools/Birthdays.svelte @@ -155,7 +155,7 @@ async function resolveBirthdays( {birthday.name} <img src={birthday.image} - alt="Character (Large)" + alt="" class="character-image" loading="lazy" decoding="async" |