Skip to content

Open-source download manager & offline media toolbox for YouTube, music, social media, learning platforms & 1,800+ sites. Built with Tauri 2.0, Rust & Svelte.

feat: add aria-label to close button in ytdlp banner for accessibility

Tonho2a45eb82605e
diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte
index d674e81e..7d8663dc 100644
--- a/src/routes/+layout.svelte
+++ b/src/routes/+layout.svelte
@@ -131,7 +131,7 @@
<button class="button ytdlp-banner-link" onclick={() => goto('/settings#dependencies')}>
{$t('common.go_to_settings')}
</button>
- <button class="ytdlp-banner-close" onclick={() => ytdlpDismissed = true}>
+ <button class="ytdlp-banner-close" onclick={() => ytdlpDismissed = true} aria-label={$t('common.close')}>
<svg viewBox="0 0 24 24" width="16" height="16" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round">
<path d="M18 6L6 18M6 6l12 12" />
</svg>