[Menu Item] Allow keyboard navigation to open href
link
#8135
Labels
4 - verified
Issues that have been tested, confirmed as mitigated, and are ready to close.
a11y
Issues related to Accessibility fixes or improvements.
bug
Bug reports for broken functionality. Issues should include a reproduction of the bug.
calcite-components
Issues specific to the @esri/calcite-components package.
calcite-components-react
Issues specific to the @esri/calcite-components-react package.
estimate - 3
A day or two of work, likely requires updates to tests.
impact - p2 - want for an upcoming milestone
User set priority impact status of p2 - want for an upcoming milestone
p - high
Issue should be addressed in the current milestone, impacts component or core functionality
Milestone
Check existing issues
Actual Behavior
Using a keyboard to open a link to a menu item does not open the link specified in
href
.To reproduce: See code pen example and repro steps
Expected Behavior
Keyboard navigation opens the linked page.
Notes from Adam Tirella:
I think we just need to add case for when href is populated, do not prevent default on the rendered internal anchor for enter / space.
Reproduction Sample
https://codepen.io/dmbrinkman/pen/qBgRPxp?editors=1000
Reproduction Steps
Enter
orSpace bar
to selectLink
Reproduction Version
1.10.0
Relevant Info
No response
Regression?
No response
Priority impact
p2 - want for current milestone
Impact
No response
Calcite package
Esri team
N/A
The text was updated successfully, but these errors were encountered: