diff --git a/templates/default/consent.php b/templates/default/consent.php
index c4c1cbc3d59cce545cef518860a0d6ea0abc4eb9..2d0a3c5ecbacb5e00414fc26e77f9b88a9fca425 100644
--- a/templates/default/consent.php
+++ b/templates/default/consent.php
@@ -1,4 +1,5 @@
 <?php 
+	$this->data['autofocus'] = 'yesbutton';
 	$this->includeAtTemplateBase('includes/header.php');
 	
 	$this->includeLanguageFile('consent.php'); 
@@ -19,7 +20,7 @@
 		} ?>
 
 		<form style="display: inline" action="<?php echo htmlspecialchars($this->data['consenturl']); ?>">
-			<input type="submit" value="<?php echo htmlspecialchars($this->t('yes')) ?>" />
+			<input type="submit" id="yesbutton" value="<?php echo htmlspecialchars($this->t('yes')) ?>" />
 			<input type="hidden" name="consent" value="<?php echo htmlspecialchars($this->data['consent_cookie']); ?>" />
 			<input type="hidden" name="RequestID" value="<?php echo htmlspecialchars($this->data['requestid']); ?>" />
 			<?php if($this->data['usestorage']) { ?>