polaris icon indicating copy to clipboard operation
polaris copied to clipboard

[Popover] Keyboard navigation enhancements

Open mirualves opened this issue 7 years ago • 1 comments

Feature request summary

Currently, tabbing forward out of popover closes it, sending focus back to the button that triggers it. The expected behaviour is to send focus to the forward element instead.

Partially fixes: https://github.com/Shopify/polaris-ux/issues/161

Rationale

General keyboard Interaction
 With focus on the button (trigger): Enter or Space: opens the popover and places focus on the first menu item. Tab: Moves focus to the first menu item. Tab (out of popover): Moves focus to the next element on the page. Shift Tab: Moves focus to the previous menu item or element on the page.

Try the above instructions on https://www.shopify.com/. It behaves as expected.


🌟 Feature requests that are not yet planned will be closed. We then use the issue’s :+1: upvotes to track and set priorities. See the contribution guidelines for more information.

mirualves avatar Sep 24 '19 18:09 mirualves

cc @sadiesaurus

mirualves avatar Oct 01 '19 18:10 mirualves