Skip to content

Commit

Permalink
Merge pull request #289 from stefanruijsenaars/undefined
Browse files Browse the repository at this point in the history
Fix error showing up as undefined for technique
  • Loading branch information
ironikart authored Sep 17, 2020
2 parents 5400a8a + 83d36b4 commit aebdff8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Standards/WCAG2AAA/Sniffs/Principle1/Guideline1_1/1_1_1.js
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ _global.HTMLCS_WCAG2AAA_Sniffs_Principle1_Guideline1_1_1_1_1 = {
if ((nodes.previous.text !== '') && (nodes.anchor.alt === '')) {
HTMLCS.addMessage(HTMLCS.ERROR, element, _global.HTMLCS.getTranslation("1_1_1_H2.EG4"), 'H2.EG4');
} else if (nodes.previous.text.toLowerCase() === nodes.anchor.alt.toLowerCase()) {
HTMLCS.addMessage(HTMLCS.ERROR, element, _global.HTMLCS.getTranslation("1_1_1_H2.EG3"));
HTMLCS.addMessage(HTMLCS.ERROR, element, _global.HTMLCS.getTranslation("1_1_1_H2.EG3"), 'H2.EG3');
}
}
}//end if
Expand Down

0 comments on commit aebdff8

Please sign in to comment.