testilo 43.1.4 → 43.2.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 +179 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "testilo",
3
- "version": "43.1.4",
3
+ "version": "43.2.0",
4
4
  "description": "Prepares Testaro jobs and processes Testaro reports",
5
5
  "main": "call.js",
6
6
  "scripts": {
@@ -918,6 +918,13 @@ exports.issues = {
918
918
  wcag: '1.1.1',
919
919
  weight: 4,
920
920
  tools: {
921
+ htmlcs: {
922
+ 'AAA.4_1_2.H91.Svg.Name': {
923
+ variable: false,
924
+ quality: 1,
925
+ what: 'Element is svg but has no accessible name'
926
+ }
927
+ },
921
928
  wax: {
922
929
  'Add alternative text to <svg> elements with an img, graphics-document, or graphics-symbol role.': {
923
930
  variable: false,
@@ -1763,6 +1770,13 @@ exports.issues = {
1763
1770
  what: 'Mousing-up functionality may not be available by keyboard'
1764
1771
  }
1765
1772
  },
1773
+ ibm: {
1774
+ aria_keyboard_handler_exists: {
1775
+ variable: false,
1776
+ quality: 1,
1777
+ what: 'Interactive WAI_ARIA UI components must provide keyboard access'
1778
+ }
1779
+ },
1766
1780
  qualWeb: {
1767
1781
  'QW-WCAG-T6': {
1768
1782
  variable: false,
@@ -3220,6 +3234,13 @@ exports.issues = {
3220
3234
  quality: 1,
3221
3235
  what: 'Paragraph text has an absolute font size'
3222
3236
  }
3237
+ },
3238
+ ibm: {
3239
+ style_viewport_resizable: {
3240
+ variable: false,
3241
+ quality: 1,
3242
+ what: 'Font size is specified in viewport units, preventing text resizing'
3243
+ }
3223
3244
  }
3224
3245
  }
3225
3246
  },
@@ -3770,6 +3791,11 @@ exports.issues = {
3770
3791
  quality: 1,
3771
3792
  what: 'Tabbable element has a non-widget role'
3772
3793
  },
3794
+ widget_tabbable_single: {
3795
+ variable: false,
3796
+ quality: 1,
3797
+ what: 'Components with a widget role must have no more than one tabbable element'
3798
+ },
3773
3799
  Rpt_Aria_ContentinfoWithNoMain_Implicit: {
3774
3800
  variable: false,
3775
3801
  quality: 1,
@@ -4806,6 +4832,21 @@ exports.issues = {
4806
4832
  }
4807
4833
  }
4808
4834
  },
4835
+ infoNeedsColor: {
4836
+ summary: 'color the only classifier?',
4837
+ why: 'Categories are indistinguishable',
4838
+ wcag: '1.4.1',
4839
+ weight: 1,
4840
+ tools: {
4841
+ ibm: {
4842
+ style_color_misuse: {
4843
+ variable: false,
4844
+ quality: 1,
4845
+ what: 'Color may be the only classifier'
4846
+ }
4847
+ }
4848
+ }
4849
+ },
4809
4850
  colorNamedRisk: {
4810
4851
  summary: 'color perception required?',
4811
4852
  why: 'Content is impossible to perceive under some conditions',
@@ -4821,6 +4862,21 @@ exports.issues = {
4821
4862
  }
4822
4863
  }
4823
4864
  },
4865
+ sensoryDependenceRisk: {
4866
+ summary: 'instruction requires particular sense?',
4867
+ why: 'Content is impossible to perceive under some conditions',
4868
+ wcag: '1.4.1',
4869
+ weight: 1,
4870
+ tools: {
4871
+ ibm: {
4872
+ text_sensory_misuse: {
4873
+ variable: false,
4874
+ quality: 1,
4875
+ what: 'Instructions should be meaningful without relying solely on shape, size, or location words'
4876
+ }
4877
+ }
4878
+ }
4879
+ },
4824
4880
  idEmpty: {
4825
4881
  summary: 'ID empty',
4826
4882
  why: 'Item behaves improperly',
@@ -5064,6 +5120,21 @@ exports.issues = {
5064
5120
  }
5065
5121
  }
5066
5122
  },
5123
+ mouseOnlyRisk: {
5124
+ summary: 'hover functionality requires mouse?',
5125
+ why: 'Hovering-produced functionality is denied to a keyboard-only user',
5126
+ wcag: '1.3.1',
5127
+ weight: 1,
5128
+ tools: {
5129
+ wax: {
5130
+ 'Ensure the functionality provided by mousing over this element is available through the keyboard; for instance, using the focus event.': {
5131
+ variable: false,
5132
+ quality: 1,
5133
+ what: 'Element may provide functionality via hovering but not keyboard'
5134
+ }
5135
+ }
5136
+ }
5137
+ },
5067
5138
  titleRedundant: {
5068
5139
  summary: 'title attribute redundant',
5069
5140
  why: 'Helper repeats the explanation of an item',
@@ -5420,6 +5491,21 @@ exports.issues = {
5420
5491
  }
5421
5492
  }
5422
5493
  },
5494
+ headingMisuseRisk: {
5495
+ summary: 'heading used for styling?',
5496
+ why: 'User cannot understand the document structure',
5497
+ wcag: '1.3.1',
5498
+ weight: 2,
5499
+ tools: {
5500
+ ibm: {
5501
+ heading_markup_misuse: {
5502
+ variable: false,
5503
+ quality: 1,
5504
+ what: 'Heading elements must not be used for presentation'
5505
+ }
5506
+ }
5507
+ }
5508
+ },
5423
5509
  headingNone: {
5424
5510
  summary: 'headings missing',
5425
5511
  why: 'User cannot survey parts of the document',
@@ -5756,6 +5842,13 @@ exports.issues = {
5756
5842
  what: 'Heading coding is not used but the element may be intended as a heading'
5757
5843
  }
5758
5844
  },
5845
+ ibm: {
5846
+ text_block_heading: {
5847
+ variable: false,
5848
+ quality: 1,
5849
+ what: 'Heading text should use a heading element or role'
5850
+ }
5851
+ },
5759
5852
  wave: {
5760
5853
  heading_possible: {
5761
5854
  variable: false,
@@ -6861,6 +6954,21 @@ exports.issues = {
6861
6954
  }
6862
6955
  }
6863
6956
  },
6957
+ inputLabelInvisibleRisk: {
6958
+ summary: 'input label invisible?',
6959
+ why: 'User cannot understand where to enter information',
6960
+ wcag: '2.4.6',
6961
+ weight: 1,
6962
+ tools: {
6963
+ ibm: {
6964
+ input_label_visible: {
6965
+ variable: false,
6966
+ quality: 1,
6967
+ what: 'input element label invisible?'
6968
+ }
6969
+ }
6970
+ }
6971
+ },
6864
6972
  titleAsLabel: {
6865
6973
  summary: 'control has title instead of label',
6866
6974
  why: 'User cannot get help on how to operate a form item',
@@ -7178,6 +7286,41 @@ exports.issues = {
7178
7286
  }
7179
7287
  }
7180
7288
  },
7289
+ focusIndicationRisk: {
7290
+ summary: 'focus indication poor',
7291
+ why: 'Keyboard-only user cannot choose an item to operate',
7292
+ wcag: '2.4.7',
7293
+ weight: 1,
7294
+ tools: {
7295
+ ibm: {
7296
+ element_tabbable_unobscured: {
7297
+ variable: false,
7298
+ quality: 1,
7299
+ what: 'Tabbable element obscured by another element when focused?'
7300
+ },
7301
+ element_tabbable_visible: {
7302
+ variable: false,
7303
+ quality: 1,
7304
+ what: 'Tabbable element invisible when focused?'
7305
+ }
7306
+ },
7307
+ }
7308
+ },
7309
+ boxInvisibleRisk: {
7310
+ summary: 'border or outline invisible?',
7311
+ why: 'User cannot perceive the boundary of an item',
7312
+ wcag: '2.5.8',
7313
+ weight: 1,
7314
+ tools: {
7315
+ ibm: {
7316
+ style_focus_visible: {
7317
+ variable: false,
7318
+ quality: 1,
7319
+ what: 'CSS-specified border or outline invisible?'
7320
+ }
7321
+ }
7322
+ }
7323
+ },
7181
7324
  allCaps: {
7182
7325
  summary: 'all-capital text',
7183
7326
  why: 'Text is difficult to read',
@@ -8140,6 +8283,21 @@ exports.issues = {
8140
8283
  }
8141
8284
  }
8142
8285
  },
8286
+ formSurpriseRisk: {
8287
+ summary: 'form interaction changes content?',
8288
+ why: 'User experiences unexpected document change when using a form',
8289
+ wcag: '3.2.5',
8290
+ weight: 1,
8291
+ tools: {
8292
+ ibm: {
8293
+ form_interaction_review: {
8294
+ variable: false,
8295
+ quality: 1,
8296
+ what: 'User should be informed in advance when interacting with content changes context'
8297
+ }
8298
+ }
8299
+ }
8300
+ },
8143
8301
  labelClash: {
8144
8302
  summary: 'label types incompatible',
8145
8303
  why: 'User cannot get reliable help on the topics of form items',
@@ -8989,6 +9147,13 @@ exports.issues = {
8989
9147
  quality: 1,
8990
9148
  what: 'Fixed-position element may force bidirectional scrolling'
8991
9149
  }
9150
+ },
9151
+ wax: {
9152
+ 'This element has "position: fixed". This may require scrolling in two dimensions, which is considered a failure of this Success Criterion.': {
9153
+ variable: false,
9154
+ quality: 1,
9155
+ what: 'Fixed-position element may require scrolling in two dimensions'
9156
+ }
8992
9157
  }
8993
9158
  }
8994
9159
  },
@@ -9078,6 +9243,13 @@ exports.issues = {
9078
9243
  what: 'First focusable element is not a link to the main content'
9079
9244
  }
9080
9245
  },
9246
+ ibm: {
9247
+ html_skipnav_exists: {
9248
+ variable: false,
9249
+ quality: 1,
9250
+ what: 'Provide a way to bypass blocks of content repeated on multiple pages'
9251
+ }
9252
+ },
9081
9253
  qualWeb: {
9082
9254
  'QW-ACT-R72': {
9083
9255
  variable: false,
@@ -9316,6 +9488,13 @@ exports.issues = {
9316
9488
  what: 'font element is obsolete'
9317
9489
  }
9318
9490
  },
9491
+ ibm: {
9492
+ frame_src_valid: {
9493
+ variable: false,
9494
+ quality: 1,
9495
+ what: 'frame element is obsolete, and a frame with non-HTML content must be made accessible'
9496
+ }
9497
+ },
9319
9498
  nuVal: {
9320
9499
  'The center element is obsolete. Use CSS instead.': {
9321
9500
  variable: false,