diff --git a/Standards/WCAG2AAA/Sniffs/Principle1/Guideline1_1/1_1_1.js b/Standards/WCAG2AAA/Sniffs/Principle1/Guideline1_1/1_1_1.js index 7355bd8b..ece0d645 100644 --- a/Standards/WCAG2AAA/Sniffs/Principle1/Guideline1_1/1_1_1.js +++ b/Standards/WCAG2AAA/Sniffs/Principle1/Guideline1_1/1_1_1.js @@ -133,7 +133,7 @@ _global.HTMLCS_WCAG2AAA_Sniffs_Principle1_Guideline1_1_1_1_1 = { } }; - elements = HTMLCS.util.getAllElements(top, 'img, area, input[type="image"]'); + var elements = HTMLCS.util.getAllElements(top, 'img, area, input[type="image"]'); for (var el = 0; el < elements.length; el++) { var element = elements[el];