testilo 43.3.2 → 43.3.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/tic.js +20 -0
package/package.json
CHANGED
package/procs/score/tic.js
CHANGED
|
@@ -208,6 +208,11 @@ exports.issues = {
|
|
|
208
208
|
variable: false,
|
|
209
209
|
quality: 1,
|
|
210
210
|
what: 'Multiple landmarks with the same parent region are not distinguished from one another [invalid on invisible elements]'
|
|
211
|
+
},
|
|
212
|
+
style_background_decorative: {
|
|
213
|
+
variable: false,
|
|
214
|
+
quality: 1,
|
|
215
|
+
what: 'CSS background image may be informative [speculative]'
|
|
211
216
|
}
|
|
212
217
|
},
|
|
213
218
|
nuVal: {
|
|
@@ -1894,6 +1899,21 @@ exports.issues = {
|
|
|
1894
1899
|
}
|
|
1895
1900
|
}
|
|
1896
1901
|
},
|
|
1902
|
+
nonLabelableRole: {
|
|
1903
|
+
summary: 'aria-label on non-labelable role',
|
|
1904
|
+
why: 'User is misinformed about an item',
|
|
1905
|
+
wcag: '1.3.1',
|
|
1906
|
+
weight: 1,
|
|
1907
|
+
tools: {
|
|
1908
|
+
nuVal: {
|
|
1909
|
+
'The aria-label attribute must not be specified on any div element unless the element has a role value other than caption, code, deletion, emphasis, generic, insertion, paragraph, presentation, strong, subscript, or superscript.': {
|
|
1910
|
+
variable: false,
|
|
1911
|
+
quality: 1,
|
|
1912
|
+
what: 'Element with a non-labelable role has an aria-label attribute'
|
|
1913
|
+
}
|
|
1914
|
+
}
|
|
1915
|
+
}
|
|
1916
|
+
},
|
|
1897
1917
|
ariaLabelWrongRisk: {
|
|
1898
1918
|
summary: 'dubious aria-label',
|
|
1899
1919
|
why: 'User may fail to get help understanding an item in a form',
|