Skip to content

[SF][A11y][DatePicker] Pressing Enter key won't select the date #4826

@Neeeko

Description

@Neeeko

Bug Description

When using the keyboard to navigate in the DatePicker, pressing the ENTER key will only close the DatePicker instead of selecting the date and displaying it in the DatePicker input.
However, it works well using SPACE key.

In the documentation it is indicated that
Once the drop-down is opened, you can use the UP, DOWN, LEFT, RIGHT arrow keys to navigate through the dates and select one by pressing the Space or Enter keys

Expected Behavior

Pressing ENTER key on a date should select the date properly, close the DatePicker and display the selected date in the DatePicker input.

Steps to Reproduce

  1. Go to https://sap.github.io/ui5-webcomponents/playground/components/DatePicker/
  2. Open the Datepicker using the Keyboard and navigate to a date
  3. Press ENTER key
  4. The selected Date won't be displayed in the Date Picker input

Context

  • UI5 Web Components version: 1.1.0
  • OS/Platform: MacOS
  • Browser: Chrome
  • Affected component: ui5-datepicker

Priority

  • Low
  • Medium
  • High
  • Very High

The priority indicates the severity of the issue. To set the appropriate priority consider the following criteria:

  • Breaks entire application or system - High or Very High
  • Accessibility issue - Medium or High
  • Functional issue - Medium or High
  • Visual issue - Low or Medium

Note: The priority might be re-evaluated by the issue processor.

Stakeholder Info (if applicable)

  • Organization: SuccessFactors

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Completed

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions