Closed Bug 1815184 Opened 2 years ago Closed 2 years ago

Esc key dismisses the datepicker if no interaction is done on the month-year panel

Categories

(Core :: Layout: Form Controls, defect)

Desktop
All
defect

Tracking

()

VERIFIED FIXED
111 Branch
Tracking Status
firefox-esr102 --- disabled
firefox109 --- disabled
firefox110 --- wontfix
firefox111 --- verified

People

(Reporter: sbadau, Assigned: ayeddi)

References

(Blocks 1 open bug, )

Details

(Keywords: access)

Attachments

(2 files)

Found in

  • Firefox 111.0a1

Affected versions

  • Nightly 111.0a1
  • Firefox 110.0b9

Tested platforms

  • Affected platforms: Windows 10, macOS 11.7, Ubuntu 20.04

Steps to reproduce

  1. Navigate to data:text/html,<input type=date><input type=datetime-local>
  2. Use the Tab key to reach and open the Calendar.
  3. Use the Tab key to reach and Open the month-year panel but do not interact with it.
  4. Hit the Esc key.

Expected result

  • The mont-year panel should be dismissed but the datepicker should remain open.

Actual result

  • Both the month-year panel and the datepicker are dismissed.

Regression range
Not a regression.

Additional notes
This is a follow-up for Bug 1801930.

Assignee: nobody → ayeddi
Keywords: access

Update Escape event handler to include month-year toggle button that should close the month-year picker dialog (when opened) and place the focus to a calendar day instead of closing the entire date picker panel.

Attachment #9316493 - Attachment description: Bug 1815184 - Handle Escape on month-year toggle of the datepicker. r=Jamie → Bug 1815184 - Handle Escape on month-year toggle of the datepicker. r=Jamie!,mconley,kcochrane
Pushed by ayeddi@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/4918753f721c
Handle Escape on month-year toggle of the datepicker. r=Jamie,mconley,kcochrane
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 111 Branch

This issue is Verified as fixed in our latest Nightly build 111.0a1 (2023-02-08).

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-firefox110 to wontfix.

For more information, please visit auto_nag documentation.

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

Updating the remaining Main Status flag.

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

Attachment

General

Created:
Updated:
Size: