palantir/blueprint

Unable to access focusable elements inside a Popover2 with HOVER interactionKind

Open

#5851 opened on Jan 17, 2023

View on GitHub
 (1 comment) (0 reactions) (0 assignees)TypeScript (20,263 stars) (2,167 forks)batch import
Domain: accessibilityP2Package: popover2Type: enhancementhelp wanted

Description

Code Sandbox

"Hover" button in "Interactions" example

Steps to reproduce

Tab to open hover button

Actual behavior

Unable to access menu items with keyboard navigation

Expected behavior

Should be able to tab to menu items without popover closing, or otherwise able to access menu items with keyboard navigation

Possible solution

Is the user expected to implement custom open control if accessibility is required? It would be nice to get this out of the box!

Note that CLICK interactionKind works as expected, perhaps if TAB key opens the popover it acts more like how the click action currently works.

Contributor guide