accessibility-insights-report 4.7.1 → 4.7.3

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/drop/index.js +133 -1
  2. package/package.json +3 -3
package/drop/index.js CHANGED
@@ -4635,9 +4635,17 @@ var guidanceTags = {
4635
4635
  id: "WCAG_2_1",
4636
4636
  displayText: "New for WCAG 2.1"
4637
4637
  },
4638
+ WCAG_2_2: {
4639
+ id: "WCAG_2_2",
4640
+ displayText: "New for WCAG 2.2"
4641
+ },
4638
4642
  BEST_PRACTICE: {
4639
4643
  id: "BEST_PRACTICE",
4640
4644
  displayText: "Best Practice"
4645
+ },
4646
+ WCAG_2_2_DEPRECATION: {
4647
+ id: "WCAG_2_2",
4648
+ displayText: "Deprecated for WCAG 2.2"
4641
4649
  }
4642
4650
  };
4643
4651
 
@@ -4676,21 +4684,27 @@ var axeTagToGuidelineKeyMap = {
4676
4684
  wcag245: "WCAG 2.4.5",
4677
4685
  wcag246: "WCAG 2.4.6",
4678
4686
  wcag247: "WCAG 2.4.7",
4687
+ wcag2411: "WCAG 2.4.11",
4679
4688
  wcag251: "WCAG 2.5.1",
4680
4689
  wcag252: "WCAG 2.5.2",
4681
4690
  wcag253: "WCAG 2.5.3",
4682
4691
  wcag254: "WCAG 2.5.4",
4683
4692
  wcag255: "WCAG 2.5.5",
4693
+ wcag257: "WCAG 2.5.7",
4694
+ wcag258: "WCAG 2.5.8",
4684
4695
  wcag311: "WCAG 3.1.1",
4685
4696
  wcag312: "WCAG 3.1.2",
4686
4697
  wcag321: "WCAG 3.2.1",
4687
4698
  wcag322: "WCAG 3.2.2",
4688
4699
  wcag323: "WCAG 3.2.3",
4689
4700
  wcag324: "WCAG 3.2.4",
4701
+ wcag326: "WCAG 3.2.6",
4690
4702
  wcag331: "WCAG 3.3.1",
4691
4703
  wcag332: "WCAG 3.3.2",
4692
4704
  wcag333: "WCAG 3.3.3",
4693
4705
  wcag334: "WCAG 3.3.4",
4706
+ wcag337: "WCAG 3.3.7",
4707
+ wcag338: "WCAG 3.3.8",
4694
4708
  wcag411: "WCAG 4.1.1",
4695
4709
  wcag412: "WCAG 4.1.2",
4696
4710
  wcag413: "WCAG 4.1.3"
@@ -5001,6 +5015,16 @@ var guidelineMetadata = {
5001
5015
  },
5002
5016
  // wcag248: intentionally omitted, AAA
5003
5017
  // wcag249: intentionally omitted, AAA
5018
+ // wcag2410: intentionally omitted, AAA
5019
+ "WCAG 2.4.11": {
5020
+ number: "2.4.11",
5021
+ axeTag: "wcag2411",
5022
+ name: "Focus Appearance",
5023
+ linkName: "WCAG 2.4.11",
5024
+ linkTag: "WCAG_2_4_11",
5025
+ link: "https://www.w3.org/WAI/WCAG22/Understanding/focus-appearance-minimum.html",
5026
+ guidanceTags: [guidanceTags.WCAG_2_2]
5027
+ },
5004
5028
  "WCAG 2.5.1": {
5005
5029
  number: "2.5.1",
5006
5030
  axeTag: "wcag251",
@@ -5046,6 +5070,25 @@ var guidelineMetadata = {
5046
5070
  link: "https://www.w3.org/WAI/WCAG21/Understanding/target-size.html",
5047
5071
  guidanceTags: []
5048
5072
  },
5073
+ // wcag256: intentionally omitted, AAA
5074
+ "WCAG 2.5.7": {
5075
+ number: "2.5.7",
5076
+ axeTag: "wcag257",
5077
+ name: "Dragging Movements",
5078
+ linkName: "WCAG 2.5.7",
5079
+ linkTag: "WCAG_2_5_7",
5080
+ link: "https://www.w3.org/WAI/WCAG22/Understanding/dragging-movements.html",
5081
+ guidanceTags: [guidanceTags.WCAG_2_2]
5082
+ },
5083
+ "WCAG 2.5.8": {
5084
+ number: "2.5.8",
5085
+ axeTag: "wcag258",
5086
+ name: "Target Size",
5087
+ linkName: "WCAG 2.5.8",
5088
+ linkTag: "WCAG_2_5_8",
5089
+ link: "https://www.w3.org/WAI/WCAG22/Understanding/target-size-minimum.html",
5090
+ guidanceTags: [guidanceTags.WCAG_2_2]
5091
+ },
5049
5092
  "WCAG 3.1.1": {
5050
5093
  number: "3.1.1",
5051
5094
  axeTag: "wcag311",
@@ -5101,6 +5144,15 @@ var guidelineMetadata = {
5101
5144
  guidanceTags: []
5102
5145
  },
5103
5146
  // wcag325: intentionally omitted, AAA
5147
+ "WCAG 3.2.6": {
5148
+ number: "3.2.6",
5149
+ axeTag: "wcag326",
5150
+ name: "Consistent Help",
5151
+ linkName: "WCAG 3.2.6",
5152
+ linkTag: "WCAG_3_2_6",
5153
+ link: "https://www.w3.org/WAI/WCAG22/Understanding/consistent-help.html",
5154
+ guidanceTags: [guidanceTags.WCAG_2_2]
5155
+ },
5104
5156
  "WCAG 3.3.1": {
5105
5157
  number: "3.3.1",
5106
5158
  axeTag: "wcag331",
@@ -5137,6 +5189,25 @@ var guidelineMetadata = {
5137
5189
  link: "https://www.w3.org/WAI/WCAG21/Understanding/error-prevention-legal-financial-data.html",
5138
5190
  guidanceTags: []
5139
5191
  },
5192
+ // wcag335: intentionally omitted, AAA
5193
+ "WCAG 3.3.7": {
5194
+ number: "3.3.7",
5195
+ axeTag: "wcag337",
5196
+ name: "Redundant Entry",
5197
+ linkName: "WCAG 3.3.7",
5198
+ linkTag: "WCAG_3_3_7",
5199
+ link: "https://www.w3.org/WAI/WCAG22/Understanding/redundant-entry.html",
5200
+ guidanceTags: [guidanceTags.WCAG_2_2]
5201
+ },
5202
+ "WCAG 3.3.8": {
5203
+ number: "3.3.8",
5204
+ axeTag: "wcag338",
5205
+ name: "Accessible Authentication",
5206
+ linkName: "WCAG 3.3.8",
5207
+ linkTag: "WCAG_3_3_8",
5208
+ link: "https://www.w3.org/WAI/WCAG22/Understanding/accessible-authentication-minimum.html",
5209
+ guidanceTags: [guidanceTags.WCAG_2_2]
5210
+ },
5140
5211
  "WCAG 4.1.1": {
5141
5212
  number: "4.1.1",
5142
5213
  axeTag: "wcag411",
@@ -5144,7 +5215,7 @@ var guidelineMetadata = {
5144
5215
  linkName: "WCAG 4.1.1",
5145
5216
  linkTag: "WCAG_4_1_1",
5146
5217
  link: "https://www.w3.org/WAI/WCAG21/Understanding/parsing.html",
5147
- guidanceTags: []
5218
+ guidanceTags: [guidanceTags.WCAG_2_2_DEPRECATION]
5148
5219
  },
5149
5220
  "WCAG 4.1.2": {
5150
5221
  number: "4.1.2",
@@ -5211,21 +5282,27 @@ var link = {
5211
5282
  WCAG_2_4_5: guidanceLinkTo("WCAG 2.4.5"),
5212
5283
  WCAG_2_4_6: guidanceLinkTo("WCAG 2.4.6"),
5213
5284
  WCAG_2_4_7: guidanceLinkTo("WCAG 2.4.7"),
5285
+ WCAG_2_4_11: guidanceLinkTo("WCAG 2.4.11"),
5214
5286
  WCAG_2_5_1: guidanceLinkTo("WCAG 2.5.1"),
5215
5287
  WCAG_2_5_2: guidanceLinkTo("WCAG 2.5.2"),
5216
5288
  WCAG_2_5_3: guidanceLinkTo("WCAG 2.5.3"),
5217
5289
  WCAG_2_5_4: guidanceLinkTo("WCAG 2.5.4"),
5218
5290
  WCAG_2_5_5: guidanceLinkTo("WCAG 2.5.5"),
5291
+ WCAG_2_5_7: guidanceLinkTo("WCAG 2.5.7"),
5292
+ WCAG_2_5_8: guidanceLinkTo("WCAG 2.5.8"),
5219
5293
  WCAG_3_1_1: guidanceLinkTo("WCAG 3.1.1"),
5220
5294
  WCAG_3_1_2: guidanceLinkTo("WCAG 3.1.2"),
5221
5295
  WCAG_3_2_1: guidanceLinkTo("WCAG 3.2.1"),
5222
5296
  WCAG_3_2_2: guidanceLinkTo("WCAG 3.2.2"),
5223
5297
  WCAG_3_2_3: guidanceLinkTo("WCAG 3.2.3"),
5224
5298
  WCAG_3_2_4: guidanceLinkTo("WCAG 3.2.4"),
5299
+ WCAG_3_2_6: guidanceLinkTo("WCAG 3.2.6"),
5225
5300
  WCAG_3_3_1: guidanceLinkTo("WCAG 3.3.1"),
5226
5301
  WCAG_3_3_2: guidanceLinkTo("WCAG 3.3.2"),
5227
5302
  WCAG_3_3_3: guidanceLinkTo("WCAG 3.3.3"),
5228
5303
  WCAG_3_3_4: guidanceLinkTo("WCAG 3.3.4"),
5304
+ WCAG_3_3_7: guidanceLinkTo("WCAG 3.3.7"),
5305
+ WCAG_3_3_8: guidanceLinkTo("WCAG 3.3.8"),
5229
5306
  WCAG_4_1_1: guidanceLinkTo("WCAG 4.1.1"),
5230
5307
  WCAG_4_1_2: guidanceLinkTo("WCAG 4.1.2"),
5231
5308
  WCAG_4_1_3: guidanceLinkTo("WCAG 4.1.3"),
@@ -5284,6 +5361,61 @@ var link = {
5284
5361
  WCAG21TechniquesG202: linkTo(
5285
5362
  "Ensuring keyboard control for all functionality",
5286
5363
  "https://www.w3.org/WAI/WCAG21/Techniques/general/G202"
5364
+ ),
5365
+ WCAG22CognitiveAccessibilityRoadmapAndGapAnalysisTable3: linkTo(
5366
+ "Cognitive Accessibility Roadmap and Gap Analysis",
5367
+ "https://www.w3.org/TR/coga-gap-analysis/#table3"
5368
+ ),
5369
+ WCAG22CognitiveAccessibilityRoadmapAndGapAnalysisTable6: linkTo(
5370
+ "Cognitive Accessibility Roadmap and Gap Analysis",
5371
+ "https://www.w3.org/TR/coga-gap-analysis/#table6"
5372
+ ),
5373
+ WCAG22MakingContentUsableForPeopleWithCognitiveAndLearningDisabilities: linkTo(
5374
+ "Making Content Usable for People with Cognitive and Learning Disabilities",
5375
+ "https://www.w3.org/TR/coga-usable/#make-it-easy-%20%20%20%20%20%20%20%20%20%20%20%20%20to-find-help-and-give-feedback-pattern"
5376
+ ),
5377
+ WCAG22TargetSizeStudyForOneHandedThumbUseOnSmallTouchscreenDevices: linkTo(
5378
+ "Target size study for one-handed thumb use on small touchscreen devices",
5379
+ "https://dl.acm.org/doi/10.1145/1152215.1152260"
5380
+ ),
5381
+ WCAG22TechniquesC42: linkTo(
5382
+ "Using min-height and min-width to ensure sufficient target spacing",
5383
+ "https://www.w3.org/WAI/WCAG22/Techniques/css/C42"
5384
+ ),
5385
+ WCAG22TechniquesC43: linkTo("Using CSS scroll-padding to un-obscure content", "https://www.w3.org/WAI/WCAG22/Techniques/css/C43"),
5386
+ WCAG22TechniquesF105: linkTo(
5387
+ "Failure of Success Criterion 2.5.1 due to providing functionality via a path-based gesture without simple pointer alternative",
5388
+ "https://www.w3.org/WAI/WCAG22/Techniques/failures/F105"
5389
+ ),
5390
+ WCAG22TechniquesF108: linkTo(
5391
+ "Failure of Success Criterion 2.5.7 Dragging Movements due to not providing a single pointer method for the user to operate a function that does not require a dragging movement",
5392
+ "https://www.w3.org/WAI/WCAG22/Techniques/failures/F108"
5393
+ ),
5394
+ WCAG22TechniquesF110: linkTo(
5395
+ "Failure of Success Criterion 2.4.11 due to a sticky footers or headers hiding focused elements",
5396
+ "https://www.w3.org/WAI/WCAG20/Techniques/failures/F110"
5397
+ ),
5398
+ WCAG22TechniquesG215: linkTo(
5399
+ "Providing controls to achieve the same result as path based or multipoint gestures",
5400
+ "https://www.w3.org/WAI/WCAG22/Techniques/general/G215"
5401
+ ),
5402
+ WCAG22TechniquesG216: linkTo(
5403
+ "Providing single point activation for a control slider",
5404
+ "https://www.w3.org/WAI/WCAG22/Techniques/general/G216"
5405
+ ),
5406
+ WCAG22TechniquesG218: linkTo("Email link authentication", "https://www.w3.org/WAI/WCAG22/Techniques/general/G218"),
5407
+ WCAG22TechniquesG219: linkTo(
5408
+ "Ensuring that an alternative is available for dragging movements that operate on content",
5409
+ "https://www.w3.org/WAI/WCAG22/Techniques/general/G219"
5410
+ ),
5411
+ WCAG22TechniquesG220: linkTo(
5412
+ "Provide a contact-us link in a consistent location",
5413
+ "https://www.w3.org/WAI/WCAG22/Techniques/general/G220"
5414
+ ),
5415
+ WCAG22TechniquesG221: linkTo("Provide data from a previous step in a process", "https://www.w3.org/WAI/WCAG22/Techniques/general/G221"),
5416
+ WCAG22TechniquesH100: linkTo(
5417
+ "Providing properly marked up email and password inputs",
5418
+ "https://www.w3.org/WAI/WCAG22/Techniques/html/H100"
5287
5419
  )
5288
5420
  };
5289
5421
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "accessibility-insights-report",
3
- "version": "4.7.1",
3
+ "version": "4.7.3",
4
4
  "description": "Accessibility Insights Report",
5
5
  "license": "MIT",
6
6
  "files": [
@@ -22,10 +22,10 @@
22
22
  "axe-core": "4.7.2",
23
23
  "classnames": "^2.3.2",
24
24
  "lodash": "^4.17.21",
25
- "luxon": "^3.4.2",
25
+ "luxon": "^3.4.4",
26
26
  "react": "^16.14.0",
27
27
  "react-dom": "^16.14.0",
28
28
  "react-helmet": "^6.1.0",
29
- "uuid": "^9.0.0"
29
+ "uuid": "^9.0.1"
30
30
  }
31
31
  }