testilo 51.0.2 → 51.1.0

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/procs/score/tic.js +102 -6
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "testilo",
3
- "version": "51.0.2",
3
+ "version": "51.1.0",
4
4
  "description": "Prepares Testaro jobs and processes Testaro reports",
5
5
  "main": "call.js",
6
6
  "scripts": {
@@ -1952,14 +1952,14 @@ exports.issues = {
1952
1952
  weight: 1,
1953
1953
  tools: {
1954
1954
  nuVal: {
1955
- '^The aria-label attribute must not be specified on any .* element unless the element has a role value other than caption, code, deletion, emphasis, generic, insertion, paragraph, presentation, strong, subscript, or superscript.*$': {
1955
+ '^The aria-label.* attribute must not be specified on any .* element unless the element has a role value other than caption, code, deletion, emphasis, generic, insertion, paragraph, presentation, strong, subscript, or superscript.*$': {
1956
1956
  variable: true,
1957
1957
  quality: 1,
1958
1958
  what: 'Element with a non-labelable role has an aria-label attribute'
1959
1959
  }
1960
1960
  },
1961
1961
  nuVnu: {
1962
- '^The aria-label attribute must not be specified on any .* element unless the element has a role value other than caption, code, deletion, emphasis, generic, insertion, paragraph, presentation, strong, subscript, or superscript.*$': {
1962
+ '^The aria-label.* attribute must not be specified on any .* element unless the element has a role value other than caption, code, deletion, emphasis, generic, insertion, paragraph, presentation, strong, subscript, or superscript.*$': {
1963
1963
  variable: true,
1964
1964
  quality: 1,
1965
1965
  what: 'Element with a non-labelable role has an aria-label attribute'
@@ -2075,6 +2075,11 @@ exports.issues = {
2075
2075
  variable: false,
2076
2076
  quality: 1,
2077
2077
  what: 'aria-describedby attribute references an element not in the document'
2078
+ },
2079
+ '^The aria-describedby attribute references .+, which is not the ID of any element in this document.+$': {
2080
+ variable: true,
2081
+ quality: 1,
2082
+ what: 'aria-describedby attribute references an element not in the document'
2078
2083
  }
2079
2084
  },
2080
2085
  nuVnu: {
@@ -2082,6 +2087,11 @@ exports.issues = {
2082
2087
  variable: false,
2083
2088
  quality: 1,
2084
2089
  what: 'aria-describedby attribute references an element not in the document'
2090
+ },
2091
+ '^The aria-describedby attribute references .+, which is not the ID of any element in this document.+$': {
2092
+ variable: true,
2093
+ quality: 1,
2094
+ what: 'aria-describedby attribute references an element not in the document'
2085
2095
  }
2086
2096
  },
2087
2097
  testaro: {
@@ -2187,6 +2197,11 @@ exports.issues = {
2187
2197
  variable: false,
2188
2198
  quality: 1,
2189
2199
  what: 'aria-labelledby attribute references an element not in the document'
2200
+ },
2201
+ '^The aria-labelledby attribute references .+, which is not the ID of any element in this document.+$': {
2202
+ variable: true,
2203
+ quality: 1,
2204
+ what: 'aria-labelledby attribute references an element not in the document'
2190
2205
  }
2191
2206
  },
2192
2207
  nuVnu: {
@@ -2199,6 +2214,11 @@ exports.issues = {
2199
2214
  variable: false,
2200
2215
  quality: 1,
2201
2216
  what: 'aria-labelledby attribute references an element not in the document'
2217
+ },
2218
+ '^The aria-labelledby attribute references .+, which is not the ID of any element in this document.+$': {
2219
+ variable: true,
2220
+ quality: 1,
2221
+ what: 'aria-labelledby attribute references an element not in the document'
2202
2222
  }
2203
2223
  },
2204
2224
  wave: {
@@ -3851,6 +3871,11 @@ exports.issues = {
3851
3871
  variable: false,
3852
3872
  quality: 1,
3853
3873
  what: 'Element is not eligible for an async attribute but has one'
3874
+ },
3875
+ 'A script element with a type attribute whose value is neither a JavaScript MIME type, module, importmap, nor speculationrules (i.e., a data block) must not have a src attribute.': {
3876
+ variable: false,
3877
+ quality: 1,
3878
+ what: 'Element is not eligible for a src attribute but has one'
3854
3879
  }
3855
3880
  },
3856
3881
  nuVnu: {
@@ -3878,6 +3903,11 @@ exports.issues = {
3878
3903
  variable: false,
3879
3904
  quality: 1,
3880
3905
  what: 'Element is not eligible for an async attribute but has one'
3906
+ },
3907
+ 'A script element with a type attribute whose value is neither a JavaScript MIME type, module, importmap, nor speculationrules (i.e., a data block) must not have a src attribute.': {
3908
+ variable: false,
3909
+ quality: 1,
3910
+ what: 'Element is not eligible for a src attribute but has one'
3881
3911
  }
3882
3912
  }
3883
3913
  }
@@ -3893,6 +3923,11 @@ exports.issues = {
3893
3923
  variable: false,
3894
3924
  quality: 1,
3895
3925
  what: 'Element is script with type=speculationrules but its href_matches value is not a string'
3926
+ },
3927
+ 'Each rule in the prefetch array must only contain the properties source, urls, where, and eagerness.': {
3928
+ variable: false,
3929
+ quality: 1,
3930
+ what: 'Element is script with type=speculationrules but its prefetch array has invalid property names'
3896
3931
  }
3897
3932
  },
3898
3933
  nuVnu: {
@@ -3900,6 +3935,11 @@ exports.issues = {
3900
3935
  variable: false,
3901
3936
  quality: 1,
3902
3937
  what: 'Element is script with type=speculationrules but its href_matches value is not a string'
3938
+ },
3939
+ 'Each rule in the prefetch array must only contain the properties source, urls, where, and eagerness.': {
3940
+ variable: false,
3941
+ quality: 1,
3942
+ what: 'Element is script with type=speculationrules but its prefetch array has invalid property names'
3903
3943
  }
3904
3944
  }
3905
3945
  }
@@ -4178,6 +4218,11 @@ exports.issues = {
4178
4218
  variable: true,
4179
4219
  quality: 1,
4180
4220
  what: 'Table cell has a role attribute'
4221
+ },
4222
+ 'An li element that is a descendant of a ul, ol, or menu element with no explicit role value, or a descendant of a role=list element, must not have any role value other than listitem.': {
4223
+ variable: false,
4224
+ quality: 1,
4225
+ what: 'element is li in a list but has no listitem role'
4181
4226
  }
4182
4227
  },
4183
4228
  nuVnu: {
@@ -4190,6 +4235,11 @@ exports.issues = {
4190
4235
  variable: true,
4191
4236
  quality: 1,
4192
4237
  what: 'Table cell has a role attribute'
4238
+ },
4239
+ 'An li element that is a descendant of a ul, ol, or menu element with no explicit role value, or a descendant of a role=list element, must not have any role value other than listitem.': {
4240
+ variable: false,
4241
+ quality: 1,
4242
+ what: 'element is li in a list but has no listitem role'
4193
4243
  }
4194
4244
  }
4195
4245
  }
@@ -4938,6 +4988,11 @@ exports.issues = {
4938
4988
  variable: false,
4939
4989
  quality: 1,
4940
4990
  what: 'Element has the max attribute but also the aria-valuemax attribute'
4991
+ },
4992
+ 'The aria-valuemin attribute must not be used on an element which has a min attribute.': {
4993
+ variable: false,
4994
+ quality: 1,
4995
+ what: 'Element has the min attribute but also the aria-valuemin attribute'
4941
4996
  }
4942
4997
  },
4943
4998
  nuVnu: {
@@ -4950,6 +5005,11 @@ exports.issues = {
4950
5005
  variable: false,
4951
5006
  quality: 1,
4952
5007
  what: 'Element has the max attribute but also the aria-valuemax attribute'
5008
+ },
5009
+ 'The aria-valuemin attribute must not be used on an element which has a min attribute.': {
5010
+ variable: false,
5011
+ quality: 1,
5012
+ what: 'Element has the min attribute but also the aria-valuemin attribute'
4953
5013
  }
4954
5014
  }
4955
5015
  }
@@ -9383,6 +9443,20 @@ exports.issues = {
9383
9443
  what: 'Element, blink, is deprecated'
9384
9444
  }
9385
9445
  },
9446
+ nuVal: {
9447
+ 'The blink element is obsolete. Use CSS instead.': {
9448
+ variable: false,
9449
+ quality: 1,
9450
+ what: 'Element, blink, is obsolete'
9451
+ }
9452
+ },
9453
+ nuVnu: {
9454
+ 'The blink element is obsolete. Use CSS instead.': {
9455
+ variable: false,
9456
+ quality: 1,
9457
+ what: 'Element, blink, is obsolete'
9458
+ }
9459
+ },
9386
9460
  qualWeb: {
9387
9461
  'QW-WCAG-T13': {
9388
9462
  variable: false,
@@ -10271,6 +10345,28 @@ exports.issues = {
10271
10345
  }
10272
10346
  }
10273
10347
  },
10348
+ nonElement: {
10349
+ summary: 'element unknown',
10350
+ why: 'Document includes an unknown element that the browser cannot process',
10351
+ wcag: '4.1',
10352
+ weight: 4,
10353
+ tools: {
10354
+ nuVal: {
10355
+ '^The .+ element is a completely-unknown element that is not allowed anywhere in any HTML content.+$': {
10356
+ variable: true,
10357
+ quality: 1,
10358
+ what: 'Element is unknown'
10359
+ }
10360
+ },
10361
+ nuVnu: {
10362
+ '^The .+ element is a completely-unknown element that is not allowed anywhere in any HTML content.+$': {
10363
+ variable: true,
10364
+ quality: 1,
10365
+ what: 'Element is unknown'
10366
+ }
10367
+ }
10368
+ }
10369
+ },
10274
10370
  elementObsolete: {
10275
10371
  summary: 'element obsolete',
10276
10372
  why: 'Document includes obsolete code that the browser may fail to process',
@@ -11407,8 +11503,8 @@ exports.issues = {
11407
11503
  quality: 1,
11408
11504
  what: 'Encoding declaration names an unsupported character encoding'
11409
11505
  },
11410
- 'Text run is not in Unicode Normalization Form C.': {
11411
- variable: false,
11506
+ '^Text run is not in Unicode Normalization Form C.+$': {
11507
+ variable: true,
11412
11508
  quality: 1,
11413
11509
  what: 'Text run is not in Unicode Normalization Form C'
11414
11510
  },
@@ -11429,8 +11525,8 @@ exports.issues = {
11429
11525
  quality: 1,
11430
11526
  what: 'Encoding declaration names an unsupported character encoding'
11431
11527
  },
11432
- 'Text run is not in Unicode Normalization Form C.': {
11433
- variable: false,
11528
+ '^Text run is not in Unicode Normalization Form C.+$': {
11529
+ variable: true,
11434
11530
  quality: 1,
11435
11531
  what: 'Text run is not in Unicode Normalization Form C'
11436
11532
  },