testaro 14.9.2 → 14.9.4

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/actSpecs.js CHANGED
@@ -184,7 +184,7 @@ exports.actSpecs = {
184
184
  'Perform Testaro tests',
185
185
  {
186
186
  withItems: [true, 'boolean', '', 'itemize'],
187
- args: [false, 'object', 'areArrays', 'extra args (object with rule properties and arrays of argument values as values ({focInd: [false, 250], hover: [-1], motion: [2500, 2500, 5]} by default'],
187
+ args: [false, 'object', 'areArrays', 'extra args (object; property names are rule IDs and values are arrays of additional argument values ({focInd: [false, 250], hover: [20], motion: [2500, 2500, 5]} by default'],
188
188
  }
189
189
  ],
190
190
  wave: [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "testaro",
3
- "version": "14.9.2",
3
+ "version": "14.9.4",
4
4
  "description": "Automation of accessibility testing",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/testaro/hover.js CHANGED
@@ -310,7 +310,7 @@ const find = async (data, withItems, page, sample) => {
310
310
  }
311
311
  };
312
312
  // Performs the hover test and reports results.
313
- exports.reporter = async (page, withItems, sampleSize = -1) => {
313
+ exports.reporter = async (page, withItems, sampleSize = 20) => {
314
314
  // Initialize the result.
315
315
  let data = {
316
316
  totals: {
@@ -406,7 +406,7 @@ exports.reporter = async (page, withItems, sampleSize = -1) => {
406
406
  Object.keys(data.items).forEach(issue => {
407
407
  data.items[issue].forEach(item => {
408
408
  standardInstances.push({
409
- ruleID: `hover-${issue}`,
409
+ ruleID: 'hover',
410
410
  what: what[issue],
411
411
  count: data.totals[issue],
412
412
  ordinalSeverity: severity[issue],