[wp-trac] [WordPress Trac] #33059: Publish box timestamp form elements initial focus

WordPress Trac noreply at wordpress.org
Tue Jul 21 15:27:42 UTC 2015


#33059: Publish box timestamp form elements initial focus
-------------------------------+-----------------------------
 Reporter:  afercia            |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Future Release
Component:  Posts, Post Types  |     Version:
 Severity:  normal             |  Resolution:
 Keywords:  has-patch          |     Focuses:  ui, javascript
-------------------------------+-----------------------------

Comment (by afercia):

 Replying to [comment:3 iseulde]:
 > Why `input:visible`?
 There are some hidden inputs in the timestamp div, just wanted to be sure
 to exclude them. And yes they come after so `:visible` maybe is
 unnecessary but who knows maybe some future markup change could place some
 hidden inputs before. On the other hand, targeting the inner `.timestamp-
 wrap` would mean getting one more element. Oh well maybe I'm overthinking,
 feel free to change it and keep it simple if you think that would be
 better :)

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


More information about the wp-trac mailing list