From b7ce8d194fc0b79415bcd2eef694cb6369d37d98 Mon Sep 17 00:00:00 2001 From: Malcolm Young Date: Thu, 19 Dec 2024 14:49:45 +0000 Subject: [PATCH] declar var elements - fixes #321 --- Standards/WCAG2AAA/Sniffs/Principle1/Guideline1_1/1_1_1.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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];