Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Popover panel - Broken ARIA menu #90

Open
matthieu-hm opened this issue Mar 5, 2024 · 0 comments
Open

Popover panel - Broken ARIA menu #90

matthieu-hm opened this issue Mar 5, 2024 · 0 comments

Comments

@matthieu-hm
Copy link

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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant