Bundled Themes: A11y: Remove auto-focus in Twenty Ten.

Remove the autofocus script in Twenty Ten that forced a bypass of the navigation, main heading, and explanation on the 404 error page.

Props sabernhardt, ravichudasama01, joedolson.
Fixes #64064.
Built from https://develop.svn.wordpress.org/trunk@61515


git-svn-id: http://core.svn.wordpress.org/trunk@60826 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
joedolson
2026-01-23 03:00:33 +00:00
parent 6737291dca
commit cc930eaec0
2 changed files with 1 additions and 5 deletions

View File

@@ -22,9 +22,5 @@ get_header(); ?>
</div><!-- #content -->
</div><!-- #container -->
<script>
// Focus on search field after it has loaded.
document.getElementById('s') && document.getElementById('s').focus();
</script>
<?php get_footer(); ?>

View File

@@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '7.0-alpha-61514';
$wp_version = '7.0-alpha-61515';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.