diff --git a/wp-content/themes/twentynineteen/js/touch-keyboard-navigation.js b/wp-content/themes/twentynineteen/js/touch-keyboard-navigation.js index c8d1dd02e6..073102fe23 100644 --- a/wp-content/themes/twentynineteen/js/touch-keyboard-navigation.js +++ b/wp-content/themes/twentynineteen/js/touch-keyboard-navigation.js @@ -274,7 +274,7 @@ document.addEventListener('focus', function(event) { - if ( event.target.matches('.main-navigation > div > ul > li a') ) { + if ( event.target != window.document && event.target.matches( '.main-navigation > div > ul > li a' ) ) { // Remove Focused elements in sibling div. var currentDiv = getCurrentParent( event.target, 'div', '.main-navigation' ); diff --git a/wp-includes/version.php b/wp-includes/version.php index d673883e3b..872278bea8 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.3-alpha-55969'; +$wp_version = '6.3-alpha-55970'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.