Closed Bug 1600024 Opened 4 years ago Closed 4 years ago

[macOS] Pressing Enter didn't trigger the click event on the button

Categories

(Firefox :: Bookmarks & History, defect)

71 Branch
defect
Not set
normal

Tracking

()

RESOLVED INVALID
Tracking Status
firefox-esr68 --- wontfix
firefox70 --- wontfix
firefox71 --- wontfix
firefox72 --- wontfix

People

(Reporter: zstimi, Unassigned)

Details

Affected versions

  • Fx 68.3.0esr
  • Fx 70.0.1
  • Fx 71.0
  • Fx 72.0a1

Affected platforms

  • mac OS 10.15

Steps to reproduce

  1. Launch Firefox.
  2. Open a website that's currently not in your Bookmarks list.
  3. Click the star-shaped button from toolbar.
  4. Navigate with keyboard pressing "Tab" button until the focus reach the Cancel button.
  5. Press Enter.

Expected result

  • Since the Cancel button is in focus, that would be hit when the enter key is pressed.

Actual result

  • Pressing Enter didn't trigger the click event on the button, If I press Space it gets selected/clicked correctly.

Regression range
I will come back with regression range ASAP.

Additional notes

  • Same issue is present if editing an existing bookmark, navigate to Remove Bookmark button using Tab key and trying to press Enter.
  • If the keyboard focus is on Done button the Enter key is functional.
Component: Keyboard Navigation → Bookmarks & History
Has Regression Range: --- → no
Has STR: --- → yes

(In reply to Timea Zsoldos [:zstimi/tzsoldos], Desktop Release QA from comment #0)

  1. Navigate with keyboard pressing "Tab" button until the focus reach the Cancel button.
  2. Press Enter.

Expected result

  • Since the Cancel button is in focus, that would be hit when the enter key is pressed.

Actual result

  • Pressing Enter didn't trigger the click event on the button, If I press Space it gets selected/clicked correctly.

This is expected behaviour on macOS. Enter doesn't activate focused buttons. As an example, in the calendar app, if you switch to the search field, then shift-tab until you focus the share toolbar button, then hit "enter", nothing happens.

Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → WONTFIX
Resolution: WONTFIX → INVALID
You need to log in before you can comment on or make changes to this bug.