Browse Source

Remove focus on unnecessary button

Amauri CHAMPEAUX 4 years ago
parent
commit
04dbc0030f
1 changed files with 2 additions and 2 deletions
  1. 2 2
      tarteaucitron.js

+ 2 - 2
tarteaucitron.js

@@ -339,10 +339,10 @@ var tarteaucitron = {
                    html += '       <span class="tarteaucitronListCookies"></span><br/>';
                    html += '   </div>';
                    html += '   <div class="tarteaucitronAsk">';
-                   html += '       <button type="button" class="tarteaucitronAllow">';
+                   html += '       <button type="button" class="tarteaucitronAllow" tabindex="-1">';
                    html += '           <span class="tarteaucitronCheck"></span> ' + tarteaucitron.lang.allow;
                    html += '       </button> ';
-                   html += '       <button type="button" class="tarteaucitronDeny" style="visibility:hidden">';
+                   html += '       <button type="button" class="tarteaucitronDeny" style="visibility:hidden" tabindex="-1">';
                    html += '           <span class="tarteaucitronCross"></span> ' + tarteaucitron.lang.deny;
                    html += '       </button> ';
                    html += '   </div>';