testilo 42.1.1 → 42.1.2
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/README.md +2 -2
- package/package.json +1 -1
- package/procs/score/tic50.js +45 -0
package/README.md
CHANGED
|
@@ -805,8 +805,8 @@ The `report` argument is a scored report. The `summary` constant is an object. T
|
|
|
805
805
|
A user can invoke `summarize()` in either of these two ways:
|
|
806
806
|
|
|
807
807
|
```javaScript
|
|
808
|
-
node call summarize
|
|
809
|
-
node call summarize
|
|
808
|
+
node call summarize 'company divisions'
|
|
809
|
+
node call summarize 'company divisions' 2411
|
|
810
810
|
```
|
|
811
811
|
|
|
812
812
|
When a user invokes `summarize` in this example, the `call` module:
|
package/package.json
CHANGED
package/procs/score/tic50.js
CHANGED
|
@@ -2855,6 +2855,11 @@ exports.issues = {
|
|
|
2855
2855
|
variable: false,
|
|
2856
2856
|
quality: 1,
|
|
2857
2857
|
what: 'ARIA role is not contained by a required parent'
|
|
2858
|
+
},
|
|
2859
|
+
'Ensure elements with ARIA roles are within required parent roles.': {
|
|
2860
|
+
variable: false,
|
|
2861
|
+
quality: 1,
|
|
2862
|
+
what: 'ARIA role is not contained by a required parent'
|
|
2858
2863
|
}
|
|
2859
2864
|
}
|
|
2860
2865
|
}
|
|
@@ -4295,6 +4300,21 @@ exports.issues = {
|
|
|
4295
4300
|
}
|
|
4296
4301
|
}
|
|
4297
4302
|
},
|
|
4303
|
+
ariaVersusHTML: {
|
|
4304
|
+
summary: 'aria and HTML attributes have conflicting value',
|
|
4305
|
+
why: 'User gets erroneous help with content',
|
|
4306
|
+
wcag: '4.1.2',
|
|
4307
|
+
weight: 4,
|
|
4308
|
+
tools: {
|
|
4309
|
+
ibm: {
|
|
4310
|
+
aria_attribute_conflict: {
|
|
4311
|
+
variable: false,
|
|
4312
|
+
quality: 1,
|
|
4313
|
+
what: 'ARIA and HTML attributes on the same element have conflicting values'
|
|
4314
|
+
}
|
|
4315
|
+
}
|
|
4316
|
+
}
|
|
4317
|
+
},
|
|
4298
4318
|
ariaReferenceBad: {
|
|
4299
4319
|
summary: 'aria reference invalid',
|
|
4300
4320
|
why: 'Item behavior violates user expectations',
|
|
@@ -5703,6 +5723,11 @@ exports.issues = {
|
|
|
5703
5723
|
variable: false,
|
|
5704
5724
|
quality: 1,
|
|
5705
5725
|
what: 'Element is ul or ol but directly contains an element other than li, script, or template'
|
|
5726
|
+
},
|
|
5727
|
+
'Ensure lists are structured correctly with <li> elements.': {
|
|
5728
|
+
variable: false,
|
|
5729
|
+
quality: 1,
|
|
5730
|
+
what: 'List contains non-li items'
|
|
5706
5731
|
}
|
|
5707
5732
|
}
|
|
5708
5733
|
}
|
|
@@ -6835,6 +6860,21 @@ exports.issues = {
|
|
|
6835
6860
|
}
|
|
6836
6861
|
}
|
|
6837
6862
|
},
|
|
6863
|
+
targetsNear: {
|
|
6864
|
+
summary: 'small targets too near to each other',
|
|
6865
|
+
why: 'User cannot reliably choose an item to click or tap',
|
|
6866
|
+
wcag: '2.5.8',
|
|
6867
|
+
weight: 3,
|
|
6868
|
+
tools: {
|
|
6869
|
+
ibm: {
|
|
6870
|
+
target_spacing_sufficient: {
|
|
6871
|
+
variable: false,
|
|
6872
|
+
quality: 1,
|
|
6873
|
+
what: 'Small targets are not far enough apart'
|
|
6874
|
+
}
|
|
6875
|
+
}
|
|
6876
|
+
}
|
|
6877
|
+
},
|
|
6838
6878
|
visibleBulk: {
|
|
6839
6879
|
summary: 'large visible-element count',
|
|
6840
6880
|
why: 'User cannot easily find items in the document',
|
|
@@ -8514,6 +8554,11 @@ exports.issues = {
|
|
|
8514
8554
|
variable: false,
|
|
8515
8555
|
quality: 1,
|
|
8516
8556
|
what: 'Element has a positive tabIndex attribute'
|
|
8557
|
+
},
|
|
8558
|
+
'Remove or adjust tabindex attributes greater than zero.': {
|
|
8559
|
+
variable: false,
|
|
8560
|
+
quality: 1,
|
|
8561
|
+
what: 'Element has a positive tabIndex attribute'
|
|
8517
8562
|
}
|
|
8518
8563
|
}
|
|
8519
8564
|
}
|