Make WordPress Core

Changeset 61515


Ignore:
Timestamp:
01/23/2026 02:59:07 AM (4 weeks ago)
Author:
joedolson
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentyten/404.php

    r61440 r61515  
    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(); ?>
Note: See TracChangeset for help on using the changeset viewer.