testilo 21.2.3 → 21.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/procs/score/tic38.js +5 -5
package/package.json
CHANGED
package/procs/score/tic38.js
CHANGED
|
@@ -1350,17 +1350,17 @@ exports.issues = {
|
|
|
1350
1350
|
}
|
|
1351
1351
|
}
|
|
1352
1352
|
},
|
|
1353
|
-
|
|
1354
|
-
summary: 'label contains
|
|
1353
|
+
controlIDInLabelBad: {
|
|
1354
|
+
summary: 'label contains control with nonmatching ID',
|
|
1355
1355
|
why: 'User cannot get help understanding an item in a form',
|
|
1356
1356
|
wcag: '1.3.1',
|
|
1357
1357
|
weight: 4,
|
|
1358
1358
|
tools: {
|
|
1359
1359
|
nuVal: {
|
|
1360
|
-
'Any
|
|
1361
|
-
variable:
|
|
1360
|
+
'^Any .+ descendant of a label element with a for attribute must have an ID value that matches that for attribute.*$': {
|
|
1361
|
+
variable: true,
|
|
1362
1362
|
quality: 1,
|
|
1363
|
-
what: 'label element has a
|
|
1363
|
+
what: 'label element has a labelable descendant whose ID differs from the for attribute of the label'
|
|
1364
1364
|
}
|
|
1365
1365
|
}
|
|
1366
1366
|
}
|