From 940ef5c245d29b1441bfa1a88c808f637075b109 Mon Sep 17 00:00:00 2001
From: Wolfgang Müller
Date: Fri, 22 Nov 2024 18:15:31 +0100
Subject: frontend: Ignore tabindex for container divs

These two break the tabbing flow, instead focus the next item within the
container.
---
 frontend/src/lib/gallery/Gallery.svelte | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'frontend/src/lib/gallery/Gallery.svelte')

diff --git a/frontend/src/lib/gallery/Gallery.svelte b/frontend/src/lib/gallery/Gallery.svelte
index c3b6386..964c677 100644
--- a/frontend/src/lib/gallery/Gallery.svelte
+++ b/frontend/src/lib/gallery/Gallery.svelte
@@ -5,7 +5,7 @@
 	export let pages: PageFragment[];
 </script>
 
-<div class="max-h-full gap-2 overflow-auto p-1 pr-3">
+<div class="max-h-full gap-2 overflow-auto p-1 pr-3" tabindex="-1">
 	{#each pages as page, index}
 		<GalleryPage {page} {index} on:open on:cover />
 	{/each}
-- 
cgit v1.2.3-2-gb3c3

