Преглед на файлове

Merge pull request #509 from mcouzinet/feature/accessibility

remove action on mandatory button
Amauri CHAMPEAUX преди 4 години
родител
ревизия
39aac6b2b3
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      tarteaucitron.js

+ 1 - 1
tarteaucitron.js

@@ -330,7 +330,7 @@ var tarteaucitron = {
                 if (tarteaucitron.parameters.mandatory == true) {
                 if (tarteaucitron.parameters.mandatory == true) {
                    html += '<li id="tarteaucitronServicesTitle_mandatory">';
                    html += '<li id="tarteaucitronServicesTitle_mandatory">';
                    html += '<div class="tarteaucitronTitle">';
                    html += '<div class="tarteaucitronTitle">';
-                   html += '   <button type="button">&nbsp; ' + tarteaucitron.lang.mandatoryTitle + '</button>';
+                   html += '   <button type="button" tabindex="-1">&nbsp; ' + tarteaucitron.lang.mandatoryTitle + '</button>';
                    html += '</div>';
                    html += '</div>';
                    html += '<ul id="tarteaucitronServices_mandatory">';
                    html += '<ul id="tarteaucitronServices_mandatory">';
                    html += '<li class="tarteaucitronLine">';
                    html += '<li class="tarteaucitronLine">';