summaryrefslogtreecommitdiffstats
path: root/wp-includes/js/wplink.js
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--wp-includes/js/wplink.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/wp-includes/js/wplink.js b/wp-includes/js/wplink.js
index 89adf33..e4708e4 100644
--- a/wp-includes/js/wplink.js
+++ b/wp-includes/js/wplink.js
@@ -105,6 +105,7 @@
var ed,
$body = $( document.body );
+ $( '#wpwrap' ).attr( 'aria-hidden', 'true' );
$body.addClass( 'modal-open' );
wpLink.modalOpen = true;
@@ -281,6 +282,7 @@
close: function( reset ) {
$( document.body ).removeClass( 'modal-open' );
+ $( '#wpwrap' ).removeAttr( 'aria-hidden' );
wpLink.modalOpen = false;
if ( reset !== 'noReset' ) {