WordPress.org

Make WordPress Core

Changeset 45531


Ignore:
Timestamp:
06/13/2019 04:21:49 PM (3 months ago)
Author:
afercia
Message:

Accessibility: Handle one more case of focus loss when switching view in the Media Views.

See #43169.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/js/media/views/frame/post.js

    r45524 r45531  
    390390            click: function() {
    391391                this.controller.content.mode('browse');
     392                // Move focus to the modal when jumping back from Edit Selection to Add Media view.
     393                this.controller.modal.focusManager.focus();
    392394            }
    393395        });
Note: See TracChangeset for help on using the changeset viewer.