svelte-headlessui icon indicating copy to clipboard operation
svelte-headlessui copied to clipboard

Popover panel - Broken ARIA menu

Open matthieu-hm opened this issue 1 year ago • 0 comments
trafficstars

version: 0.0.33

The directive should not add role="menu" its considerate as an aria error. Its implies that the popover can be controle through arrow keys.

More info on the page: https://blog.pope.tech/2020/03/27/broken-aria-menu-example/

<script>
  const popover = createPopover({});
</script>

<!-- /!\ Should not add `role="menu"` -->
<div use:popover.panel>
  <!-- Popover content -->
</div>

matthieu-hm avatar Mar 05 '24 17:03 matthieu-hm