diff --git a/modules/preprodwarning/templates/warning.php b/modules/preprodwarning/templates/warning.php
index a5fa9b14e9ff84ac7063432408d7ee9d681c8b2e..a3f1a3e13abb6ac84b70b14007c53a1473f5fa53 100644
--- a/modules/preprodwarning/templates/warning.php
+++ b/modules/preprodwarning/templates/warning.php
@@ -19,6 +19,7 @@
 
 
 $this->data['header'] = $this->t('{preprodwarning:warning:warning_header}');
+$this->data['autofocus'] = 'yesbutton';
 
 $this->includeAtTemplateBase('includes/header.php');