testilo 17.0.6 → 17.0.8

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/tic36.js +122 -12
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "testilo",
3
- "version": "17.0.6",
3
+ "version": "17.0.8",
4
4
  "description": "Prepares and processes Testaro reports",
5
5
  "main": "aim.js",
6
6
  "scripts": {
@@ -357,26 +357,33 @@ exports.issues = {
357
357
  r28: {
358
358
  variable: false,
359
359
  quality: 1,
360
- what: 'image input element has no accessible name'
360
+ what: 'Element is an image input but has no accessible name'
361
+ }
362
+ },
363
+ aslint: {
364
+ 'input-image-missing-alt': {
365
+ variable: false,
366
+ quality: 1,
367
+ what: 'Element is an image input but its text alternative is missing or empty'
361
368
  }
362
369
  },
363
370
  htmlcs: {
364
371
  'AAA.4_1_2.H91.InputImage.Name': {
365
372
  variable: false,
366
373
  quality: 1,
367
- what: 'image input has no accessible name'
374
+ what: 'Element is an image input but has no accessible name'
368
375
  }
369
376
  },
370
377
  ibm: {
371
378
  WCAG20_Input_ExplicitLabelImage: {
372
379
  variable: false,
373
380
  quality: 1,
374
- what: 'input element of type image has no text alternative'
381
+ what: 'Element is an input of type image but has no text alternative'
375
382
  },
376
383
  imagebutton_alt_exists: {
377
384
  variable: false,
378
385
  quality: 1,
379
- what: 'input element of type image has no text alternative'
386
+ what: 'Element is an input of type image but has no text alternative'
380
387
  }
381
388
  }
382
389
  }
@@ -412,6 +419,13 @@ exports.issues = {
412
419
  what: 'Image has no accessible name'
413
420
  }
414
421
  },
422
+ aslint: {
423
+ 'missing-alt-attribute': {
424
+ variable: false,
425
+ quality: 1,
426
+ what: 'Image has no alt attribute'
427
+ }
428
+ },
415
429
  axe: {
416
430
  'image-alt': {
417
431
  variable: false,
@@ -521,6 +535,20 @@ exports.issues = {
521
535
  }
522
536
  }
523
537
  },
538
+ imageTextRisk: {
539
+ why: 'Helper may describe an image inadequately',
540
+ wcag: '1.1.1',
541
+ weight: 1,
542
+ tools: {
543
+ aslint: {
544
+ 'general-alt': {
545
+ variable: false,
546
+ quality: 1,
547
+ what: 'Image may be better described by a revised text alternative and an aria-label attribute'
548
+ }
549
+ }
550
+ }
551
+ },
524
552
  imageNoSource: {
525
553
  why: 'Image to be shown cannot be found',
526
554
  wcag: '1.3.1',
@@ -990,11 +1018,37 @@ exports.issues = {
990
1018
  }
991
1019
  }
992
1020
  },
1021
+ objectTextRisk: {
1022
+ why: 'Helper may explain a custom item inadequately',
1023
+ wcag: '1.1.1',
1024
+ weight: 1,
1025
+ tools: {
1026
+ aslint: {
1027
+ 'object-general-alt': {
1028
+ variable: false,
1029
+ quality: 1,
1030
+ what: 'Text of the object may better explain it if revised'
1031
+ }
1032
+ }
1033
+ }
1034
+ },
993
1035
  appletNoText: {
994
1036
  why: 'User cannot get help on how to use a custom item',
995
1037
  wcag: '1.1.1',
996
1038
  weight: 4,
997
1039
  tools: {
1040
+ aslint: {
1041
+ 'applet-missing-alt': {
1042
+ variable: false,
1043
+ quality: 1,
1044
+ what: 'Text alternative of the applet is missing or empty'
1045
+ },
1046
+ 'applet-missing-body': {
1047
+ variable: false,
1048
+ quality: 1,
1049
+ what: 'Content of the applet is missing or empty'
1050
+ }
1051
+ },
998
1052
  qualWeb: {
999
1053
  'QW-WCAG-T11': {
1000
1054
  variable: false,
@@ -1023,18 +1077,25 @@ exports.issues = {
1023
1077
  wcag: '1.1.1',
1024
1078
  weight: 4,
1025
1079
  tools: {
1080
+ aslint: {
1081
+ 'a-area-missing-alt': {
1082
+ variable: false,
1083
+ quality: 1,
1084
+ what: 'Text alternative of the element is missing or empty'
1085
+ }
1086
+ },
1026
1087
  axe: {
1027
1088
  'area-alt': {
1028
1089
  variable: false,
1029
1090
  quality: 1,
1030
- what: 'Active area element has no text alternative'
1091
+ what: 'Element is an active area element but has no text alternative'
1031
1092
  }
1032
1093
  },
1033
1094
  htmlcs: {
1034
1095
  'AAA.1_1_1.H24': {
1035
1096
  variable: false,
1036
1097
  quality: 1,
1037
- what: 'Area element in an image map has no alt attribute'
1098
+ what: 'Element is an area in an image map but has no alt attribute'
1038
1099
  }
1039
1100
  },
1040
1101
  ibm: {
@@ -1046,7 +1107,7 @@ exports.issues = {
1046
1107
  'WCAG20_Area_HasAlt': {
1047
1108
  variable: false,
1048
1109
  quality: 1,
1049
- what: 'Area element in an image map has no text alternative'
1110
+ what: 'Element is an area in an image map but has no text alternative'
1050
1111
  }
1051
1112
  },
1052
1113
  qualWeb: {
@@ -1391,6 +1452,13 @@ exports.issues = {
1391
1452
  what: 'Link has no accessible name'
1392
1453
  }
1393
1454
  },
1455
+ aslint: {
1456
+ 'img-empty-alt-in-link': {
1457
+ variable: false,
1458
+ quality: 1,
1459
+ what: 'Element is an image in a link but has no text alternative'
1460
+ }
1461
+ },
1394
1462
  axe: {
1395
1463
  'link-name': {
1396
1464
  variable: false,
@@ -1681,6 +1749,13 @@ exports.issues = {
1681
1749
  wcag: '2.4.4',
1682
1750
  weight: 2,
1683
1751
  tools: {
1752
+ aslint: {
1753
+ 'img-adjacent-duplicate-text-link': {
1754
+ variable: false,
1755
+ quality: 1,
1756
+ what: 'Link and an adjacent link are logically 1 link but are not combined'
1757
+ }
1758
+ },
1684
1759
  qualWeb: {
1685
1760
  'QW-WCAG-T10': {
1686
1761
  variable: false,
@@ -1968,7 +2043,14 @@ exports.issues = {
1968
2043
  r43: {
1969
2044
  variable: false,
1970
2045
  quality: 1,
1971
- what: 'SVG image element has no accessible name'
2046
+ what: 'Element has no accessible name'
2047
+ }
2048
+ },
2049
+ aslint: {
2050
+ 'accessible-svgN': {
2051
+ variable: false,
2052
+ quality: 1,
2053
+ what: 'Element has no title, description, text, attribute label, or role description'
1972
2054
  }
1973
2055
  },
1974
2056
  axe: {
@@ -3464,6 +3546,13 @@ exports.issues = {
3464
3546
  wcag: '1.1.1',
3465
3547
  weight: 1,
3466
3548
  tools: {
3549
+ aslint: {
3550
+ 'img-alt-duplicate-text-link': {
3551
+ variable: false,
3552
+ quality: 1,
3553
+ what: 'Text alternative of the image duplicates the text of the enclosing link'
3554
+ }
3555
+ },
3467
3556
  axe: {
3468
3557
  'image-redundant-alt': {
3469
3558
  variable: false,
@@ -3497,11 +3586,18 @@ exports.issues = {
3497
3586
  wcag: '1.3.1',
3498
3587
  weight: 1,
3499
3588
  tools: {
3589
+ aslint: {
3590
+ 'img-empty-alt-with-empty-title': {
3591
+ variable: false,
3592
+ quality: 1,
3593
+ what: 'Element has an empty alt attribute but a nonempty title attribute'
3594
+ }
3595
+ },
3500
3596
  htmlcs: {
3501
3597
  'AAA.1_1_1.H67.1': {
3502
3598
  variable: false,
3503
3599
  quality: 1,
3504
- what: 'img element has an empty alt attribute but has a nonempty title attribute'
3600
+ what: 'Element has an empty alt attribute but has a nonempty title attribute'
3505
3601
  }
3506
3602
  },
3507
3603
  ibm: {
@@ -6318,7 +6414,7 @@ exports.issues = {
6318
6414
  }
6319
6415
  }
6320
6416
  },
6321
- audioContentNoText: {
6417
+ audioNoText: {
6322
6418
  why: 'User cannot get help reading speech as text',
6323
6419
  wcag: '1.2.1',
6324
6420
  weight: 4,
@@ -6359,7 +6455,7 @@ exports.issues = {
6359
6455
  }
6360
6456
  }
6361
6457
  },
6362
- videoContentNoText: {
6458
+ videoNoText: {
6363
6459
  why: 'User cannot get help reading video content as text',
6364
6460
  wcag: '1.2.2',
6365
6461
  weight: 4,
@@ -6405,7 +6501,7 @@ exports.issues = {
6405
6501
  }
6406
6502
  }
6407
6503
  },
6408
- videoContentNoTranscript: {
6504
+ videoNoTranscript: {
6409
6505
  why: 'User cannot get help reading video content as text',
6410
6506
  wcag: '1.2.2',
6411
6507
  weight: 4,
@@ -7326,6 +7422,20 @@ exports.issues = {
7326
7422
  }
7327
7423
  }
7328
7424
  },
7425
+ captcha2: {
7426
+ why: 'User is prevented from consuming the document',
7427
+ wcag: '1.1.1',
7428
+ weight: 1,
7429
+ tools: {
7430
+ aslint: {
7431
+ 'captcha-google': {
7432
+ variable: false,
7433
+ quality: 1,
7434
+ what: 'Document employs Google CAPTCHA version 2'
7435
+ }
7436
+ }
7437
+ }
7438
+ },
7329
7439
  overlay: {
7330
7440
  why: 'Help for the user may be complex, inconsistent, and ineffective',
7331
7441
  wcag: '4.1',