palantir/blueprint

Unable to access focusable elements inside a Popover2 with HOVER interactionKind

Open

#5,851 创建于 2023年1月17日

在 GitHub 查看
 (1 评论) (0 反应) (0 负责人)TypeScript (20,263 star) (2,167 fork)batch import
Domain: accessibilityP2Package: popover2Type: enhancementhelp wanted

描述

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.

贡献者指南