Closed Bug 1804698 Opened 3 years ago Closed 3 years ago

Space bar scrolls down when used in the month/year spin selection buttons

Categories

(Firefox :: Keyboard Navigation, defect)

Firefox 109
Desktop
All
defect

Tracking

()

VERIFIED FIXED
110 Branch
Tracking Status
firefox-esr102 --- disabled
firefox107 --- disabled
firefox108 --- disabled
firefox109 --- wontfix
firefox110 --- verified

People

(Reporter: epopescu, Assigned: ayeddi)

References

(Blocks 2 open bugs)

Details

(Keywords: access)

Attachments

(2 files)

Found in

  • Firefox Nightly 109.0a1

Affected versions

  • Firefox Nightly 109.0a1

Tested platforms

  • Affected platforms: Windows 10, Ubuntu 18, macOS 11
  • Unaffected platforms: none

Preconditions

  • Firefox Nightly installed

Steps to reproduce

  1. Open the datepicker
  2. Click on month/year button
  3. Focus by hitting TAB the month or year spin toggle button
  4. Hit Space bar

Expected result

  • Space bar should have identical behavior as the Enter key it should close the month-year selection panel, returning the focus to the month-year toggle button. Closing the entire panel would also suffice, because technically the panel with spinners replaces the calendar panel.

Actual result

  • Space bar scrolls down when used in the month/year spin selection buttons

Regression range

  • Not a regression because these improvements were recently implemented through Bug 1676068.
Has STR: --- → yes
Hardware: Unspecified → Desktop
OS: Unspecified → All

:epopescu, if you think that's a regression, could you try to find a regression range using for example mozregression?

Assignee: nobody → ayeddi
Keywords: access
See Also: → 1676068

Space bar should have identical behavior as the Enter key it should close the month-year selection panel, returning the focus to the month-year toggle button. Closing the entire panel would also suffice, because technically the panel with spinners replaces the calendar panel.

Following the STR from Comment 0, but using Enter key instead of Space doesn't have the expected behavior: "Enter/Space selects the current value of the spinbutton (value that is centered)".
Currently Space/Enter keys close the Month/Year selection panel when the Month/Year toggle button is focused( screen recording attached), but the value from Month/Year selection Spinbuttons can not be selected by simply hitting Space/Enter keys.

Pushed by ayeddi@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/8c46102ada4e Handle Space and Enter keys on month-year spinners of the datepicker. r=Jamie,mconley,kcochrane
Status: NEW → ASSIGNED
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 110 Branch

The patch landed in nightly and beta is affected.
:ayeddi, is this bug important enough to require an uplift?

  • If yes, please nominate the patch for beta approval.
  • If no, please set status-firefox109 to wontfix.

For more information, please visit auto_nag documentation.

Flags: needinfo?(ayeddi)
Flags: needinfo?(ayeddi)

Verified as fixed on Nightly 110.0a1 (2022-12-20) on Windows 10, maOS 11 and Ubuntu 22.04.
Enter/Space keys select the current value of the spinbuttons (value that is centered) and close the Month/Year selection panel.
If the input field is empty, the 1st of the month is focused in the calendar.

Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: