testilo 52.1.3 → 52.1.5

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 +105 -6
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "testilo",
3
- "version": "52.1.3",
3
+ "version": "52.1.5",
4
4
  "description": "Prepares Testaro jobs and processes Testaro reports",
5
5
  "main": "call.js",
6
6
  "scripts": {
@@ -669,6 +669,11 @@ exports.issues = {
669
669
  quality: 1,
670
670
  what: 'search input has no label element or title, aria-label, or aria-labelledby attribute'
671
671
  },
672
+ 'E-WCAG2AAA.Principle4.Guideline4_1.4_1_2.H91.InputFile.Name': {
673
+ variable: false,
674
+ quality: 1,
675
+ what: 'file input has no label element or title, aria-label, or aria-labelledby attribute'
676
+ },
672
677
  'E-AAA.4_1_2.H91.Input.Name': {
673
678
  variable: false,
674
679
  quality: 1,
@@ -1276,6 +1281,28 @@ exports.issues = {
1276
1281
  }
1277
1282
  }
1278
1283
  },
1284
+ imageBanned: {
1285
+ summary: 'image prohibited',
1286
+ why: 'Browser fails to display an image',
1287
+ wcag: '1.4',
1288
+ weight: 3,
1289
+ tools: {
1290
+ nuVal: {
1291
+ '^Resource violates Content Security Policy (meta tag): image .+ blocked by img-src directive.*$': {
1292
+ variable: true,
1293
+ quality: 1,
1294
+ what: 'img-src content attribute blocks an image'
1295
+ }
1296
+ },
1297
+ nuVnu: {
1298
+ '^Resource violates Content Security Policy (meta tag): image .+ blocked by img-src directive.*$': {
1299
+ variable: true,
1300
+ quality: 1,
1301
+ what: 'img-src content attribute blocks an image'
1302
+ }
1303
+ }
1304
+ }
1305
+ },
1279
1306
  titleLong: {
1280
1307
  summary: 'title long',
1281
1308
  why: 'Hovering makes an overly verbose explanation pop up',
@@ -1834,11 +1861,21 @@ exports.issues = {
1834
1861
  quality: 1,
1835
1862
  what: 'Mousing-out functionality is not available by keyboard?'
1836
1863
  },
1864
+ 'W-WCAG2AAA.Principle2.Guideline2_1.2_1_1.SCR20.MouseOut': {
1865
+ variable: false,
1866
+ quality: 1,
1867
+ what: 'Mousing-out functionality is not available by keyboard?'
1868
+ },
1837
1869
  'W-AAA.2_1_1.SCR20.MouseOver': {
1838
1870
  variable: false,
1839
1871
  quality: 1,
1840
1872
  what: 'Mousing-over functionality is not available by keyboard?'
1841
1873
  },
1874
+ 'W-WCAG2AAA.Principle2.Guideline2_1.2_1_1.SCR20.MouseOver': {
1875
+ variable: false,
1876
+ quality: 1,
1877
+ what: 'Mousing-over functionality is not available by keyboard?'
1878
+ },
1842
1879
  'W-AAA.2_1_1.SCR20.MouseDown': {
1843
1880
  variable: false,
1844
1881
  quality: 1,
@@ -3143,14 +3180,14 @@ exports.issues = {
3143
3180
  }
3144
3181
  },
3145
3182
  nuVal: {
3146
- '^An element with role=.+ must be contained in, or owned by, an element with role=.+$': {
3183
+ '^An element with role=.+ must be contained in, or owned by, an element with .*role=.+$': {
3147
3184
  variable: true,
3148
3185
  quality: 1,
3149
3186
  what: 'Element has no required container or owner'
3150
3187
  }
3151
3188
  },
3152
3189
  nuVnu: {
3153
- '^An element with role=.+ must be contained in, or owned by, an element with role=.+$': {
3190
+ '^An element with role=.+ must be contained in, or owned by, an element with .*role=.+$': {
3154
3191
  variable: true,
3155
3192
  quality: 1,
3156
3193
  what: 'Element has no required container or owner'
@@ -3889,6 +3926,28 @@ exports.issues = {
3889
3926
  }
3890
3927
  }
3891
3928
  },
3929
+ stylesheetBanned: {
3930
+ summary: 'stylesheet prohibited',
3931
+ why: 'Browser displays the document improperly',
3932
+ wcag: '1.4',
3933
+ weight: 3,
3934
+ tools: {
3935
+ nuVal: {
3936
+ '^Resource violates Content Security Policy (meta tag): external stylesheet .+ blocked by style-src directive.*$': {
3937
+ variable: true,
3938
+ quality: 1,
3939
+ what: 'style-src content attribute blocks an external stylesheet'
3940
+ }
3941
+ },
3942
+ nuVnu: {
3943
+ '^Resource violates Content Security Policy (meta tag): external stylesheet .+ blocked by style-src directive.*$': {
3944
+ variable: true,
3945
+ quality: 1,
3946
+ what: 'style-src content attribute blocks an external stylesheet'
3947
+ }
3948
+ }
3949
+ }
3950
+ },
3892
3951
  scriptNotDeferrable: {
3893
3952
  summary: 'script element invalidly deferred',
3894
3953
  why: 'Browser processes the document improperly',
@@ -3931,6 +3990,28 @@ exports.issues = {
3931
3990
  }
3932
3991
  }
3933
3992
  },
3993
+ scriptBanned: {
3994
+ summary: 'script prohibited',
3995
+ why: 'Browser processes the document improperly',
3996
+ wcag: '4.1',
3997
+ weight: 3,
3998
+ tools: {
3999
+ nuVal: {
4000
+ '^Resource violates Content Security Policy (meta tag): external script .+ blocked by script-src directive.': {
4001
+ variable: true,
4002
+ quality: 1,
4003
+ what: 'script-src content attribute blocks a script'
4004
+ }
4005
+ },
4006
+ nuVnu: {
4007
+ '^Resource violates Content Security Policy (meta tag): external script .+ blocked by script-src directive.': {
4008
+ variable: true,
4009
+ quality: 1,
4010
+ what: 'script-src content attribute blocks a script'
4011
+ }
4012
+ }
4013
+ }
4014
+ },
3934
4015
  scriptElementBad: {
3935
4016
  summary: 'script element invalid',
3936
4017
  why: 'Browser processes the document improperly',
@@ -6333,6 +6414,11 @@ exports.issues = {
6333
6414
  }
6334
6415
  },
6335
6416
  nuVal: {
6417
+ 'This document has heading elements but none of them has a computed heading level of 1.': {
6418
+ variable: false,
6419
+ quality: 1,
6420
+ what: 'Page contains no h1 element'
6421
+ },
6336
6422
  'Consider using the h1 element as a top-level heading only (all h1 elements are treated as top-level headings by many screen readers and other tools).': {
6337
6423
  variable: false,
6338
6424
  quality: 1,
@@ -6345,6 +6431,11 @@ exports.issues = {
6345
6431
  }
6346
6432
  },
6347
6433
  nuVnu: {
6434
+ 'This document has heading elements but none of them has a computed heading level of 1.': {
6435
+ variable: false,
6436
+ quality: 1,
6437
+ what: 'Page contains no h1 element'
6438
+ },
6348
6439
  'Consider using the h1 element as a top-level heading only (all h1 elements are treated as top-level headings by many screen readers and other tools).': {
6349
6440
  variable: false,
6350
6441
  quality: 1,
@@ -8228,7 +8319,7 @@ exports.issues = {
8228
8319
  }
8229
8320
  }
8230
8321
  },
8231
- focusIndication: {
8322
+ focusIndicationBad: {
8232
8323
  summary: 'focus indication poor',
8233
8324
  why: 'Keyboard-only user cannot choose an item to operate',
8234
8325
  wcag: '2.4.7',
@@ -8247,18 +8338,26 @@ exports.issues = {
8247
8338
  quality: 1,
8248
8339
  what: 'Element may get invisibly focused because its outline has no thickness'
8249
8340
  }
8250
- },
8341
+ }
8342
+ }
8343
+ },
8344
+ focusIndicationImprovable: {
8345
+ summary: 'focus indication improvable',
8346
+ why: 'Keyboard-only user cannot easily choose an item to operate',
8347
+ wcag: '2.4.7',
8348
+ weight: 2,
8349
+ tools: {
8251
8350
  testaro: {
8252
8351
  focInd: {
8253
8352
  variable: false,
8254
8353
  quality: 1,
8255
- what: 'Focused element displays a nonstandard or no focus indicator'
8354
+ what: 'Outline identification of when the element is focused is improvable'
8256
8355
  }
8257
8356
  }
8258
8357
  }
8259
8358
  },
8260
8359
  focusIndicationRisk: {
8261
- summary: 'focus indication poor',
8360
+ summary: 'focus indication poor?',
8262
8361
  why: 'Keyboard-only user cannot choose an item to operate',
8263
8362
  wcag: '2.4.7',
8264
8363
  weight: 1,