diff --git a/wp-includes/js/thickbox/thickbox.css b/wp-includes/js/thickbox/thickbox.css index 6bfac61ee4..3374f68569 100644 --- a/wp-includes/js/thickbox/thickbox.css +++ b/wp-includes/js/thickbox/thickbox.css @@ -145,3 +145,12 @@ #TB_closeWindowButton:focus .tb-close-icon { color: #00a0d2; } + +#TB_closeWindowButton:focus .tb-close-icon { + -webkit-box-shadow: + 0 0 0 1px #5b9dd9, + 0 0 2px 1px rgba(30, 140, 190, .8); + box-shadow: + 0 0 0 1px #5b9dd9, + 0 0 2px 1px rgba(30, 140, 190, .8); +} diff --git a/wp-includes/js/thickbox/thickbox.js b/wp-includes/js/thickbox/thickbox.js index 164f72e616..391fd4186e 100644 --- a/wp-includes/js/thickbox/thickbox.js +++ b/wp-includes/js/thickbox/thickbox.js @@ -212,7 +212,7 @@ function tb_show(caption, url, imageGroup) {//function called when the user clic }else{// not an iframe, ajax if(jQuery("#TB_window").css("visibility") != "visible"){ if(params['modal'] != "true"){//ajax no modal - jQuery("#TB_window").append("
"); + jQuery("#TB_window").append("