Skip to content

Commit bd54a39

Browse files
committed
Merge branch 'master' into paazmaya-244-eslint-fix
2 parents 1e53a51 + 58b833e commit bd54a39

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • Standards/WCAG2AAA/Sniffs/Principle3/Guideline3_2

Standards/WCAG2AAA/Sniffs/Principle3/Guideline3_2/3_2_2.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ _global.HTMLCS_WCAG2AAA_Sniffs_Principle3_Guideline3_2_3_2_2 = {
6969
// Look for buttons with form attributes, outside of the form.
7070
if (form.id) {
7171
var externalButtons = document.querySelectorAll('button[form], input[form][type=submit], input[form][type=image]');
72-
externalButtons.forEach(
72+
Array.prototype.slice.call(externalButtons).forEach(
7373
function(el) {
7474
// Check they aren't reset buttons, or normal buttons.
7575
switch (el.getAttribute('type')) {

0 commit comments

Comments
 (0)