From c5e81304a31fc6dbbbbd50177481aedc8c11c32c Mon Sep 17 00:00:00 2001 From: Joel Klinghed Date: Mon, 23 Nov 2026 14:04:08 +0100 Subject: web: add ARIA roles to drag-and-drop containers Static divs with drag handlers need an ARIA role: the main game list slots become listitems inside a list (they are reorderable list entries), and the draw-pile columns in the ability/modifier deck menus become labelled groups (they are drop zones for reordering). --- web/src/lib/ui/MainList.svelte | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'web/src/lib/ui/MainList.svelte') diff --git a/web/src/lib/ui/MainList.svelte b/web/src/lib/ui/MainList.svelte index e83df7d..3abe09b 100644 --- a/web/src/lib/ui/MainList.svelte +++ b/web/src/lib/ui/MainList.svelte @@ -70,10 +70,11 @@ } -
+
{#if $gameState} {#each $gameState.currentList as item, i (item.id)}