Ctrl + Home and Ctrl + End don't select the first day/last of the current month inside Datepicker Dialog Example
Categories
(Firefox :: Keyboard Navigation, defect)
Tracking
()
People
(Reporter: epopescu, Unassigned, NeedInfo)
References
(Blocks 2 open bugs)
Details
Attachments
(1 file)
2.23 MB,
video/quicktime
|
Details |
Found in
- Firefox Nightly 109.0a1
Affected versions
- Firefox Nightly 109.0a1
Tested platforms
- Affected platforms: Windows 10, Ubuntu 22.04
- Unaffected platforms: macOS 13
Preconditions
- Firefox Nightly installed
Steps to reproduce
- Go to https://www.w3.org/WAI/ARIA/apg/example-index/dialog-modal/datepicker-dialog.html
- Reach Calendar button(next to the date input field) by hitting TAB key
- Once the datepicker is open, hit Ctrl + Home and Ctrl + End
Expected result
- Ctrl + Home and Ctrl + End should select the first day/last of the current month
Actual result
- Ctrl + Home and Ctrl + End select the first day/last of the current week
Regression range
- Not a regression because these improvements were recently implemented through Bug 1676068.
Reporter | ||
Updated•2 years ago
|
Comment 1•2 years ago
|
||
:epopescu, if you think that's a regression, could you try to find a regression range using for example mozregression?
Comment 2•2 years ago
|
||
The date picker dialog on the https://www.w3.org/WAI/ARIA/apg/example-index/dialog-modal/datepicker-dialog.html page is a custom built component that does not use the datepicker widget provided by the Firefox for <input type=date>
and <input type=datetime-local>
. It relies on their custom code and it is attached to the <input type=text>
with JavaScript. Plus they do not mention a Ctrl + Home
and Ctrl + End
shortcuts in the keyboard support breakdown and they use a disclosure: The code in this example is not intended for production environments.
.
In this case, the Firefox-provided date picker goes an extra mile allowing a user to get to the first/last day of the month via a shortcut and as long as the default date and datetime-local inputs (i.e. from data:text/html,<input type=date>
and data:text/html,<input type=date>
) provide a date picker with the expected properly working ctrl+home
and ctrl+end
behavior, it is not a Firefox bug, but the website's developer issue.
:dao, is it okay to close the bug as worksforme
?
Comment 3•2 years ago
|
||
Just in case, confirmed that ctrl+home
and ctrl+end
work on the Firefox-provided datepicker dialog. Refer to the video recording from the Ubuntu 22.04.1 LTS.
Updated•2 years ago
|
Description
•