testilo 43.1.5 → 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 +164 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "testilo",
3
- "version": "43.1.5",
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,
@@ -4836,6 +4862,21 @@ exports.issues = {
4836
4862
  }
4837
4863
  }
4838
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
+ },
4839
4880
  idEmpty: {
4840
4881
  summary: 'ID empty',
4841
4882
  why: 'Item behaves improperly',
@@ -5079,6 +5120,21 @@ exports.issues = {
5079
5120
  }
5080
5121
  }
5081
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
+ },
5082
5138
  titleRedundant: {
5083
5139
  summary: 'title attribute redundant',
5084
5140
  why: 'Helper repeats the explanation of an item',
@@ -5435,6 +5491,21 @@ exports.issues = {
5435
5491
  }
5436
5492
  }
5437
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
+ },
5438
5509
  headingNone: {
5439
5510
  summary: 'headings missing',
5440
5511
  why: 'User cannot survey parts of the document',
@@ -5771,6 +5842,13 @@ exports.issues = {
5771
5842
  what: 'Heading coding is not used but the element may be intended as a heading'
5772
5843
  }
5773
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
+ },
5774
5852
  wave: {
5775
5853
  heading_possible: {
5776
5854
  variable: false,
@@ -6876,6 +6954,21 @@ exports.issues = {
6876
6954
  }
6877
6955
  }
6878
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
+ },
6879
6972
  titleAsLabel: {
6880
6973
  summary: 'control has title instead of label',
6881
6974
  why: 'User cannot get help on how to operate a form item',
@@ -7193,6 +7286,41 @@ exports.issues = {
7193
7286
  }
7194
7287
  }
7195
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
+ },
7196
7324
  allCaps: {
7197
7325
  summary: 'all-capital text',
7198
7326
  why: 'Text is difficult to read',
@@ -8155,6 +8283,21 @@ exports.issues = {
8155
8283
  }
8156
8284
  }
8157
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
+ },
8158
8301
  labelClash: {
8159
8302
  summary: 'label types incompatible',
8160
8303
  why: 'User cannot get reliable help on the topics of form items',
@@ -9004,6 +9147,13 @@ exports.issues = {
9004
9147
  quality: 1,
9005
9148
  what: 'Fixed-position element may force bidirectional scrolling'
9006
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
+ }
9007
9157
  }
9008
9158
  }
9009
9159
  },
@@ -9093,6 +9243,13 @@ exports.issues = {
9093
9243
  what: 'First focusable element is not a link to the main content'
9094
9244
  }
9095
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
+ },
9096
9253
  qualWeb: {
9097
9254
  'QW-ACT-R72': {
9098
9255
  variable: false,
@@ -9331,6 +9488,13 @@ exports.issues = {
9331
9488
  what: 'font element is obsolete'
9332
9489
  }
9333
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
+ },
9334
9498
  nuVal: {
9335
9499
  'The center element is obsolete. Use CSS instead.': {
9336
9500
  variable: false,