web/PopoverContainer: hide for screen readers when not expanded

This commit is contained in:
wukko 2024-12-18 17:48:40 +06:00
parent f3ff3656ef
commit 5860efa620
No known key found for this signature in database
GPG key ID: 3E30B3F26C7B4AA2

View file

@ -19,7 +19,7 @@
}; };
</script> </script>
<div {id} class="popover {expandStart}" class:expanded> <div {id} class="popover {expandStart}" aria-hidden={!expanded} class:expanded>
{#if renderPopover} {#if renderPopover}
<slot></slot> <slot></slot>
{/if} {/if}