testilo 42.1.1 → 42.1.3

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 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 "company divisions"
809
- node call summarize "company divisions" 2411
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "testilo",
3
- "version": "42.1.1",
3
+ "version": "42.1.3",
4
4
  "description": "Prepares Testaro jobs and processes Testaro reports",
5
5
  "main": "call.js",
6
6
  "scripts": {
@@ -1344,6 +1344,13 @@ exports.issues = {
1344
1344
  quality: 1,
1345
1345
  what: 'HTML lang and xml:lang do not match'
1346
1346
  }
1347
+ },
1348
+ wax: {
1349
+ 'Use valid values for lang attributes.': {
1350
+ variable: false,
1351
+ quality: 1,
1352
+ what: 'lang attribute of the html element has an invalid value'
1353
+ }
1347
1354
  }
1348
1355
  }
1349
1356
  },
@@ -2855,6 +2862,11 @@ exports.issues = {
2855
2862
  variable: false,
2856
2863
  quality: 1,
2857
2864
  what: 'ARIA role is not contained by a required parent'
2865
+ },
2866
+ 'Ensure elements with ARIA roles are within required parent roles.': {
2867
+ variable: false,
2868
+ quality: 1,
2869
+ what: 'ARIA role is not contained by a required parent'
2858
2870
  }
2859
2871
  }
2860
2872
  }
@@ -4295,6 +4307,21 @@ exports.issues = {
4295
4307
  }
4296
4308
  }
4297
4309
  },
4310
+ ariaVersusHTML: {
4311
+ summary: 'aria and HTML attributes have conflicting value',
4312
+ why: 'User gets erroneous help with content',
4313
+ wcag: '4.1.2',
4314
+ weight: 4,
4315
+ tools: {
4316
+ ibm: {
4317
+ aria_attribute_conflict: {
4318
+ variable: false,
4319
+ quality: 1,
4320
+ what: 'ARIA and HTML attributes on the same element have conflicting values'
4321
+ }
4322
+ }
4323
+ }
4324
+ },
4298
4325
  ariaReferenceBad: {
4299
4326
  summary: 'aria reference invalid',
4300
4327
  why: 'Item behavior violates user expectations',
@@ -5703,6 +5730,11 @@ exports.issues = {
5703
5730
  variable: false,
5704
5731
  quality: 1,
5705
5732
  what: 'Element is ul or ol but directly contains an element other than li, script, or template'
5733
+ },
5734
+ 'Ensure lists are structured correctly with <li> elements.': {
5735
+ variable: false,
5736
+ quality: 1,
5737
+ what: 'List contains non-li items'
5706
5738
  }
5707
5739
  }
5708
5740
  }
@@ -6835,6 +6867,21 @@ exports.issues = {
6835
6867
  }
6836
6868
  }
6837
6869
  },
6870
+ targetsNear: {
6871
+ summary: 'small targets too near to each other',
6872
+ why: 'User cannot reliably choose an item to click or tap',
6873
+ wcag: '2.5.8',
6874
+ weight: 3,
6875
+ tools: {
6876
+ ibm: {
6877
+ target_spacing_sufficient: {
6878
+ variable: false,
6879
+ quality: 1,
6880
+ what: 'Small targets are not far enough apart'
6881
+ }
6882
+ }
6883
+ }
6884
+ },
6838
6885
  visibleBulk: {
6839
6886
  summary: 'large visible-element count',
6840
6887
  why: 'User cannot easily find items in the document',
@@ -8514,6 +8561,11 @@ exports.issues = {
8514
8561
  variable: false,
8515
8562
  quality: 1,
8516
8563
  what: 'Element has a positive tabIndex attribute'
8564
+ },
8565
+ 'Remove or adjust tabindex attributes greater than zero.': {
8566
+ variable: false,
8567
+ quality: 1,
8568
+ what: 'Element has a positive tabIndex attribute'
8517
8569
  }
8518
8570
  }
8519
8571
  }