From fbbf3578b89d2a773736bad93b676d85e0385539 Mon Sep 17 00:00:00 2001 From: Andrea Fercia Date: Fri, 27 Jan 2017 18:32:00 +0000 Subject: [PATCH] Accessibility: Make the inline uploader button a real button. See `wp.media.view.UploaderWindow`. Fixes #39305. git-svn-id: https://develop.svn.wordpress.org/trunk@40021 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/js/media-views.js | 2 +- src/wp-includes/js/media/views/uploader/window.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wp-includes/js/media-views.js b/src/wp-includes/js/media-views.js index b421158fc2..bb2c949c73 100644 --- a/src/wp-includes/js/media-views.js +++ b/src/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 = $( '