diff -r 48c4eec2b7e6 -r 8c2e4d02f4ef wp/wp-includes/theme-templates.php --- a/wp/wp-includes/theme-templates.php Fri Sep 05 18:40:08 2025 +0200 +++ b/wp/wp-includes/theme-templates.php Fri Sep 05 18:52:52 2025 +0200 @@ -128,7 +128,6 @@ $skip_link_styles = ' .skip-link.screen-reader-text { border: 0; - clip: rect(1px,1px,1px,1px); clip-path: inset(50%); height: 1px; margin: -1px; @@ -141,7 +140,6 @@ .skip-link.screen-reader-text:focus { background-color: #eee; - clip: auto !important; clip-path: none; color: #444; display: block; @@ -203,8 +201,9 @@ // Create the skip link. skipLink = document.createElement( 'a' ); skipLink.classList.add( 'skip-link', 'screen-reader-text' ); + skipLink.id = 'wp-skip-link'; skipLink.href = '#' + skipLinkTargetID; - skipLink.innerHTML = ''; + skipLink.innerText = ''; // Inject the skip link. sibling.parentElement.insertBefore( skipLink, sibling );