From 4ca4ff999aba05892c05d26cddf3af540f47b93b Mon Sep 17 00:00:00 2001 From: Andrea Fercia Date: Fri, 27 Jan 2017 18:32:41 +0000 Subject: [PATCH] Accessibility: Make the inline uploader button a real button. See `wp.media.view.UploaderWindow`. Fixes #39305. Built from https://develop.svn.wordpress.org/trunk@40021 git-svn-id: http://core.svn.wordpress.org/trunk@39958 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/js/media-views.js | 2 +- wp-includes/js/media-views.min.js | 2 +- wp-includes/version.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-includes/js/media-views.js b/wp-includes/js/media-views.js index b421158fc2..bb2c949c73 100644 --- a/wp-includes/js/media-views.js +++ b/wp-includes/js/media-views.js @@ -8385,7 +8385,7 @@ UploaderWindow = wp.media.View.extend({ initialize: function() { var uploader; - this.$browser = $('').hide().appendTo('body'); + this.$browser = $( '