mirror of
https://github.com/wukko/cobalt.git
synced 2025-02-27 13:38:54 +01:00
web/PopoverContainer: hide for screen readers when not expanded
This commit is contained in:
parent
f3ff3656ef
commit
5860efa620
1 changed files with 1 additions and 1 deletions
|
@ -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}
|
||||||
|
|
Loading…
Reference in a new issue