We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a08e8a commit d1e74b4Copy full SHA for d1e74b4
Standards/WCAG2AAA/Sniffs/Principle1/Guideline1_3/1_3_1.js
@@ -253,7 +253,7 @@ var HTMLCS_WCAG2AAA_Sniffs_Principle1_Guideline1_3_1_3_1 = {
253
var ok = true;
254
255
// First check that all of the IDs (space separated) are present and correct.
256
- for (x in labelledByIds) {
+ for (var x = 0; x < labelledByIds.length; x++) {
257
var labelledByElement = element.ownerDocument.querySelector('#' + labelledByIds[x]);
258
if (!labelledByElement) {
259
HTMLCS.addMessage(
0 commit comments