testaro 69.0.0 → 69.0.1

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/tests/htmlcs.js +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "testaro",
3
- "version": "69.0.0",
3
+ "version": "69.0.1",
4
4
  "description": "Run 1000 web accessibility tests from 11 tools and get a standardized report",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/tests/htmlcs.js CHANGED
@@ -126,8 +126,8 @@ exports.reporter = async (page, report, actIndex) => {
126
126
  // Increment the warning total.
127
127
  nativeResult.totals.cantTell++;
128
128
  }
129
- // If standard results are to be reported:
130
- if (standard) {
129
+ // If standard results are to be reported and the message reports an error or warning:
130
+ if (standard && ['Error', 'Warning'].includes(parts[0])) {
131
131
  const instance = {
132
132
  ruleID: `${parts[0][0]}-${parts[1]}`,
133
133
  what: parts[4],