calcite-design-system icon indicating copy to clipboard operation
calcite-design-system copied to clipboard

dropdown: the `arrow-down`/`arrow-up` keys should open a dropdown

Open driskull opened this issue 1 year ago • 0 comments

Check existing issues

Summary

dropdown: the arrow-down/arrow-up keys should open a dropdown

Actual Behavior

Arrow keys have no effect.

Expected Behavior

Using the arrow keys on a trigger should open the dropdown component.

Reproduction Sample

https://codepen.io/driskull/pen/RwvxBZG?editors=1000

Reproduction Steps

  1. focus on the "plus" action
  2. Use arrow down or arrow up key
  3. Nothing happens

Reproduction Version

1.10

Working W3C Example/Tutorial

https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/menu_role#keyboard_interactions

Relevant Info

image

Regression?

No response

Priority impact

p2 - want for current milestone

Calcite package

  • [X] @esri/calcite-components
  • [ ] @esri/calcite-components-react
  • [ ] @esri/calcite-design-tokens
  • [ ] @esri/eslint-plugin-calcite-components

Esri team

ArcGIS Maps SDK for JavaScript

driskull avatar Nov 17 '23 21:11 driskull