testaro 14.9.3 → 14.9.5

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.3",
3
+ "version": "14.9.5",
4
4
  "description": "Automation of accessibility testing",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/testaro/focOp.js CHANGED
@@ -157,7 +157,7 @@ exports.reporter = async (page, withItems) => {
157
157
  data.items[issue].forEach(item => {
158
158
  standardInstances.push({
159
159
  ruleID: 'focOp',
160
- complaint: `${item.tagName} element ${gripe}`,
160
+ complaint: `${item.tagName || 'An'} element ${gripe}`,
161
161
  ordinalSeverity,
162
162
  tagName: item.tagName,
163
163
  id: item.id,
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: {