Ticket #58765: 58765.diff
File 58765.diff, 761 bytes (added by , 22 months ago) |
---|
-
src/wp-includes/theme-templates.php
193 193 skipLink = document.createElement( 'a' ); 194 194 skipLink.classList.add( 'skip-link', 'screen-reader-text' ); 195 195 skipLink.href = '#' + skipLinkTargetID; 196 skipLink.inner HTML = '<?php /* translators: Hidden accessibility text. */ esc_html_e( 'Skip to content' ); ?>';196 skipLink.innerText = '<?php /* translators: Hidden accessibility text. Do not use HTML entities ( , etc.). */ esc_html_e( 'Skip to content' ); ?>'; 197 197 198 198 // Inject the skip link. 199 199 sibling.parentElement.insertBefore( skipLink, sibling );