testilo 41.5.1 → 41.5.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "testilo",
3
- "version": "41.5.1",
3
+ "version": "41.5.3",
4
4
  "description": "Prepares Testaro jobs and processes Testaro reports",
5
5
  "main": "call.js",
6
6
  "scripts": {
@@ -279,6 +279,11 @@ exports.issues = {
279
279
  quality: 0,
280
280
  what: 'No link at the top of the page goes directly to the main content area [invalid]'
281
281
  },
282
+ 'QW-WCAG-T24': {
283
+ variable: false,
284
+ quality: 0.5,
285
+ what: 'Script removes the focus when focus is received [invalid]'
286
+ },
282
287
  qualWeb: {
283
288
  'QW-WCAG-T32': {
284
289
  variable: false,
@@ -6485,11 +6490,6 @@ exports.issues = {
6485
6490
  variable: false,
6486
6491
  quality: 1,
6487
6492
  what: 'iframe with negative tabindex has interactive elements'
6488
- },
6489
- 'QW-WCAG-T24': {
6490
- variable: false,
6491
- quality: 0.5,
6492
- what: 'Script removes the focus when focus is received?'
6493
6493
  }
6494
6494
  },
6495
6495
  testaro: {
@@ -195,8 +195,8 @@ exports.scorer = report => {
195
195
  );
196
196
  // For each instance of the tool:
197
197
  standardResult.instances.forEach(instance => {
198
- const {count, ordinalSeverity, pathID, ruleID, what} = instance;
199
- count ??= 1;
198
+ const {ordinalSeverity, pathID, ruleID, what} = instance;
199
+ const count = instance.count || 1;
200
200
  // If the rule ID is not in the table of tool rules:
201
201
  let canonicalRuleID = ruleID;
202
202
  if (! issueIndex[which][ruleID]) {