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/Hololive | |
| 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/Hololive')
| -rw-r--r-- | src/lib/Hololive/Stream.svelte | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Hololive/Stream.svelte b/src/lib/Hololive/Stream.svelte index d8122f50..1d464d7a 100644 --- a/src/lib/Hololive/Stream.svelte +++ b/src/lib/Hololive/Stream.svelte @@ -39,7 +39,7 @@ export let icon: string; <span class="opaque">|</span> {#if icon} <a href={root(`/hololive/${encodeURIComponent(live.streamer)}`)}> - <img src={icon} alt="Avatar" loading="lazy" decoding="async" class="stream-icon" /> + <img src={icon} alt="" loading="lazy" decoding="async" class="stream-icon" /> </a> {/if} <a href={root(`/hololive/${encodeURIComponent(live.streamer)}`)} class="streamer-link"> |