From bf21a3da3314c27bd3274b6dd4e8acb691990d00 Mon Sep 17 00:00:00 2001 From: Eric Liu Date: Sun, 17 Aug 2025 12:46:14 -0700 Subject: [PATCH] fix(list-box): address a11y issues --- src/ListBox/ListBoxSelection.svelte | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/src/ListBox/ListBoxSelection.svelte b/src/ListBox/ListBoxSelection.svelte index 297e2a7f..7b243791 100644 --- a/src/ListBox/ListBoxSelection.svelte +++ b/src/ListBox/ListBoxSelection.svelte @@ -64,10 +64,9 @@ {selectionCount} -
{ if (!disabled) { @@ -84,15 +83,15 @@ title={description} > -
+ {:else} -
{#if selectionCount !== undefined}{selectionCount}{/if} -
+ {/if}