Closed Bug 1726107 Opened 4 years ago Closed 20 days ago

Fix and re-enable the time picker UI

Categories

(Toolkit :: UI Widgets, defect)

defect

Tracking

()

RESOLVED FIXED
154 Branch
Tracking Status
relnote-firefox --- 154+
firefox154 --- fixed

People

(Reporter: emilio, Assigned: sam)

References

(Blocks 1 open bug, Regressed 1 open bug)

Details

Attachments

(1 file)

It was disabled in bug 1315911, presumably needs more work to be enabled by default.

Blocks: 1726108
Severity: -- → S3

Accessibility-wise, the datepicker a11y bug 1676068 drastically improves the accessibility of spinner widgets that are included on the timepicker panel, thus it appears to be beneficial to show the timepicker that would, among other pros, communicate to a screen reader user what are the minimum and maximum allowed values for each spin button, etc. (the remaining a11y enhancements for the timepicker panel are tracked in the bug 1802201).

This change (showing the time picker) could increase the adoption of a default time inputs vs custom, rarely accessible ones.

Other browsers like Edge and Chrome (on both macOS and Win) have a timepicker showing by default.

When implemented, the MDN time appearance example may need an updated screenshot as well.

Can we enable it per attribut? How is the status?

Depends on: 1990226
Depends on: 2011427
Depends on: 2043881
Depends on: 2043938
Depends on: 2047046

Hi Emilio! Now that all of the referenced bugs are fixed, did you have anything else in mind that needs to be taken care of before this can be enabled in Nightly? If not, I can put up a patch that flips the pref and fixes up the tests.

Flags: needinfo?(emilio)

I'm not aware of any other blocker, so yes please, feel free to do so!

And also feel free to send an intent to ship if you want (or if you don't have the cycles lmk and I can do it on your behalf).

Thanks a lot Sam! :)

Flags: needinfo?(emilio)

Flips the time picker pref now that all known blockers are resolved, and updates existing tests as needed.

Assignee: nobody → sam
Status: NEW → ASSIGNED

(In reply to Emilio Cobos Álvarez [:emilio] from comment #4)

And also feel free to send an intent to ship if you want (or if you don't have the cycles lmk and I can do it on your behalf).

No problem, I can send one! I have a few questions though after reading through the guidelines. I don't see an existing intent-to-prototype for this, does that mean I should use the intent-to-prototype-and-ship template? Since WHATWG only specifies that input pickers are implementation-defined, what information needs to be provided within the fields for standards and web-platform-tests?

Flags: needinfo?(emilio)

Yeah, probably worth merging them. And saying that the UI part of this isn't tested by WPT because of that implementation defined stuff is fair enough. The web-exposed details which are already tested by WPT.

Flags: needinfo?(emilio)
Pushed by sam@scj.me: https://github.com/mozilla-firefox/firefox/commit/28d25a211df6 https://hg.mozilla.org/integration/autoland/rev/dd723726b90f Enable time picker UI for time and datetime-local inputs. r=layout-reviewers,emilio

Release Note Request (optional, but appreciated)
[Why is this notable]: Adds a time picker UI for <input type="time"> and <input type="datetime-local">, which Blink has had for quite a while, and complements the existing date picker UI.
[Affects Firefox for Android]: No, Android already has a time picker UI.
[Suggested wording]: Added a time picker to <input type="time"> and <input type="datetime-local">, making selecting a time more accessible and intuitive.
[Links (documentation, blog post, etc)]:

relnote-firefox: --- → ?
Pushed by abutkovits@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/d085731b6b88 https://hg.mozilla.org/integration/autoland/rev/9c710513ae62 Revert "Bug 1726107 - Enable time picker UI for time and datetime-local inputs. r=layout-reviewers,emilio" for causing failures at test_HTMLSpec.html
Pushed by sam@scj.me: https://github.com/mozilla-firefox/firefox/commit/efefd28c9628 https://hg.mozilla.org/integration/autoland/rev/1f1295b03552 Enable time picker UI for time and datetime-local inputs. r=layout-reviewers,emilio
Flags: needinfo?(sam)
Pushed by amarc@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/76937e1189de https://hg.mozilla.org/integration/autoland/rev/9231a7692196 Revert "Bug 1726107 - Enable time picker UI for time and datetime-local inputs. r=layout-reviewers,emilio" for causing wr failures @ transform-input-012.html

Backed out for causing wr failures

Flags: needinfo?(sam)
Flags: needinfo?(sam)
Pushed by sam@scj.me: https://github.com/mozilla-firefox/firefox/commit/f3a818c5118e https://hg.mozilla.org/integration/autoland/rev/53d3ec9a04d9 Enable time picker UI for time and datetime-local inputs. r=layout-reviewers,emilio
Regressions: 2049066
Pushed by agoloman@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/c83ec12ea222 https://hg.mozilla.org/integration/autoland/rev/652396274a99 Revert "Bug 1726107 - Enable time picker UI for time and datetime-local inputs. r=layout-reviewers,emilio" for causing wr failures @transform-input-012.html.

Backed out for causing wr failures @transform-input-012.html.

Flags: needinfo?(sam)
Pushed by sam@scj.me: https://github.com/mozilla-firefox/firefox/commit/5574ad5c693c https://hg.mozilla.org/integration/autoland/rev/05cac4efca00 Enable time picker UI for time and datetime-local inputs. r=layout-reviewers,emilio
Status: ASSIGNED → RESOLVED
Closed: 20 days ago
Resolution: --- → FIXED
Target Milestone: --- → 154 Branch
Flags: needinfo?(sam)
Duplicate of this bug: 1696866
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: