Skip to content

Commit aebdff8

Browse files
authored
Merge pull request #289 from stefanruijsenaars/undefined
Fix error showing up as undefined for technique
2 parents 5400a8a + 83d36b4 commit aebdff8

File tree

1 file changed

+1
-1
lines changed
  • Standards/WCAG2AAA/Sniffs/Principle1/Guideline1_1

1 file changed

+1
-1
lines changed

Standards/WCAG2AAA/Sniffs/Principle1/Guideline1_1/1_1_1.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ _global.HTMLCS_WCAG2AAA_Sniffs_Principle1_Guideline1_1_1_1_1 = {
326326
if ((nodes.previous.text !== '') && (nodes.anchor.alt === '')) {
327327
HTMLCS.addMessage(HTMLCS.ERROR, element, _global.HTMLCS.getTranslation("1_1_1_H2.EG4"), 'H2.EG4');
328328
} else if (nodes.previous.text.toLowerCase() === nodes.anchor.alt.toLowerCase()) {
329-
HTMLCS.addMessage(HTMLCS.ERROR, element, _global.HTMLCS.getTranslation("1_1_1_H2.EG3"));
329+
HTMLCS.addMessage(HTMLCS.ERROR, element, _global.HTMLCS.getTranslation("1_1_1_H2.EG3"), 'H2.EG3');
330330
}
331331
}
332332
}//end if

0 commit comments

Comments
 (0)