Skip to content

Commit ca49816

Browse files
committed
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. git-svn-id: https://develop.svn.wordpress.org/trunk@61515 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 340b142 commit ca49816

File tree

1 file changed

+0
-4
lines changed
  • src/wp-content/themes/twentyten

1 file changed

+0
-4
lines changed

src/wp-content/themes/twentyten/404.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,5 @@
2222

2323
</div><!-- #content -->
2424
</div><!-- #container -->
25-
<script>
26-
// Focus on search field after it has loaded.
27-
document.getElementById('s') && document.getElementById('s').focus();
28-
</script>
2925

3026
<?php get_footer(); ?>

0 commit comments

Comments
 (0)