List: <Enter> keypress behavior within list-items #7676
Labels
4 - verified
Issues that have been released and confirmed resolved.
a11y
Issues related to Accessibility fixes or improvements.
ArcGIS Field Apps
Issues logged by ArcGIS Field Apps team members.
bug
Bug reports for broken functionality. Issues should include a reproduction of the bug.
calcite-components
Issues specific to the @esri/calcite-components package.
estimate - 3
A day or two of work, likely requires updates to tests.
p - medium
Issue is non core or affecting less that 60% of people using the library
Milestone
Check existing issues
Summary
I'm unsure if this is the intended behavior for
<calcite-list-item>
, but a cursory look through the issues did not yield anything similar.I see that an
<Enter>
keypress will open thehref=...
of both a<calcite-link>
and<calcite-button>
(ex. 1,2), however, when these are slotted intoactions-end
of<calcite-list-item>
this no longer works (ex. 3,4). Given the naming of the slot, I am assuming a<calcite-action>
is expected here, however, this too seems to produce a similar behavior (ex. 6). Note,onKeydown
does work for a slotted<calcite-action>
.Actual Behavior
actions-end
slotted<calcite-link href=...>
,<calcite-button href=...>
(ex. 3,4), or<calcite-action onClick=...>
(ex. 6).<Enter>
Expected Behavior
actions-end
slotted<calcite-link href=...>
,<calcite-button href=...>
(ex. 3,4), or<calcite-action onClick=...>
(ex. 6).<Enter>
Reproduction Sample
https://codepen.io/jrowls/pen/OJrbRqj?editors=1000
Reproduction Steps
See codepen sample
Reproduction Version
1.7.0
Working W3C Example/Tutorial
No response
Relevant Info
Firefox 117.0
Regression?
No response
Priority impact
p3 - want for upcoming milestone
Calcite package
Esri team
ArcGIS Field Apps
The text was updated successfully, but these errors were encountered: