diff --git a/includes/sanitizers/class-amp-core-theme-sanitizer.php b/includes/sanitizers/class-amp-core-theme-sanitizer.php index 303db8ff41d..83069132838 100644 --- a/includes/sanitizers/class-amp-core-theme-sanitizer.php +++ b/includes/sanitizers/class-amp-core-theme-sanitizer.php @@ -57,9 +57,12 @@ class AMP_Core_Theme_Sanitizer extends AMP_Base_Sanitizer { 'twentytwenty-js', ], 'remove_actions' => [ - 'wp_head' => [ + 'wp_head' => [ 'twentytwenty_no_js_class', // AMP is essentially no-js, with any interactivity added explicitly via amp-bind. ], + 'wp_print_footer_scripts' => [ + 'twentytwenty_skip_link_focus_fix', // See . + ], ], 'add_smooth_scrolling' => [ // @todo Only replaces twentytwenty.smoothscroll.scrollToAnchor, but not twentytwenty.smoothscroll.scrollToElement