[wp-trac] [WordPress Trac] #61652: Use `<input type="datetime-local">` for scheduling - performance and usability enhancement

WordPress Trac noreply at wordpress.org
Tue Sep 10 17:54:11 UTC 2024


#61652: Use `<input type="datetime-local">` for scheduling - performance and
usability enhancement
-----------------------------------------+--------------------------------
 Reporter:  edent                        |       Owner:  (none)
     Type:  enhancement                  |      Status:  new
 Priority:  normal                       |   Milestone:  Awaiting Review
Component:  Editor                       |     Version:  6.5.5
 Severity:  normal                       |  Resolution:
 Keywords:  2nd-opinion close has-patch  |     Focuses:  ui, accessibility
-----------------------------------------+--------------------------------
Changes (by sabernhardt):

 * keywords:  needs-patch 2nd-opinion close => 2nd-opinion close has-patch


Comment:

 > The referenced blog post mentions only the classic editor

 Quick Edit and Comments also use the same set of `touch_time()` fields. If
 browser and assistive technology support for `datetime-local` is good
 enough (in the future), I think that creating a new function could be
 better than editing `touch_time()`.

 > We could make some minor changes to this control to support things like
 the number pad on mobile devices

 I would like to add the `inputmode` attribute as a simple improvement now.
 I uploaded a patch to this ticket, but if closing as 'maybe later' makes
 more sense, my patch could move to a separate ticket.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/61652#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list