From 0e4cd9780279331f75499cf99c729e7f603b1bb7 Mon Sep 17 00:00:00 2001 From: Visual-Dawg Date: Tue, 13 Feb 2024 18:54:48 +0100 Subject: [PATCH] Disable autoplay on Firefox (#46) * previewRice: disable firefox auto-play * fix some aria hidden attr --- src/lib/PatternBackground.svelte | 2 +- src/routes/FeaturesSlice.svelte | 6 +++--- src/routes/PreviewRiceSlice.svelte | 12 +++++++----- 3 files changed, 11 insertions(+), 9 deletions(-) diff --git a/src/lib/PatternBackground.svelte b/src/lib/PatternBackground.svelte index dfe65f4..5d52038 100644 --- a/src/lib/PatternBackground.svelte +++ b/src/lib/PatternBackground.svelte @@ -98,7 +98,7 @@ x <= clientX && y <= clientY && x + width > clientX && y + height > clientY isMouseOver$.next(isMouseStillOver) }} - aria-hidden + aria-hidden="true" bind:this={wrapperElement} >
-
+