[wp-trac] [WordPress Trac] #43169: Media views: avoid to move focus programmatically when not strictly necessary

WordPress Trac noreply at wordpress.org
Mon Nov 18 16:21:49 UTC 2019


#43169: Media views: avoid to move focus programmatically when not strictly
necessary
-------------------------------------+-------------------------------------
 Reporter:  afercia                  |       Owner:  afercia
     Type:  task (blessed)           |      Status:  closed
 Priority:  normal                   |   Milestone:  5.3
Component:  Media                    |     Version:
 Severity:  normal                   |  Resolution:  fixed
 Keywords:  has-screenshots has-     |     Focuses:  ui, accessibility,
  patch                              |  javascript
-------------------------------------+-------------------------------------

Comment (by afercia):

 In [changeset:"46745" 46745]:
 {{{
 #!CommitTicketReference repository="" revision="46745"
 Widgets: Avoid to move focus to the Image Widget "Insert from URL" field.

 Fixes a bug after [45499], where the backbone view element isn't the input
 field any longer. Also, managing focus programmatically is often an
 assumption on a specific user flow and should generally be avoided, see
 #43169.

 Props dufresnesteven.
 See #43169.
 Fixes #48588.
 }}}

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


More information about the wp-trac mailing list