We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1e53a51 + 58b833e commit bd54a39Copy full SHA for bd54a39
1 file changed
Standards/WCAG2AAA/Sniffs/Principle3/Guideline3_2/3_2_2.js
@@ -69,7 +69,7 @@ _global.HTMLCS_WCAG2AAA_Sniffs_Principle3_Guideline3_2_3_2_2 = {
69
// Look for buttons with form attributes, outside of the form.
70
if (form.id) {
71
var externalButtons = document.querySelectorAll('button[form], input[form][type=submit], input[form][type=image]');
72
- externalButtons.forEach(
+ Array.prototype.slice.call(externalButtons).forEach(
73
function(el) {
74
// Check they aren't reset buttons, or normal buttons.
75
switch (el.getAttribute('type')) {
0 commit comments