Accessibility: Handle one more case of focus loss when switching view in the Media Views.
See #43169. Built from https://develop.svn.wordpress.org/trunk@45531 git-svn-id: http://core.svn.wordpress.org/trunk@45342 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
727838a11b
commit
d69a3e6f90
|
@ -3754,6 +3754,8 @@ Post = Select.extend(/** @lends wp.media.view.MediaFrame.Post.prototype */{
|
|||
|
||||
click: function() {
|
||||
this.controller.content.mode('browse');
|
||||
// Move focus to the modal when jumping back from Edit Selection to Add Media view.
|
||||
this.controller.modal.focusManager.focus();
|
||||
}
|
||||
});
|
||||
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -13,7 +13,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.3-alpha-45529';
|
||||
$wp_version = '5.3-alpha-45531';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue