testaro 28.1.2 → 28.1.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/README.md +16 -1
- package/package.json +2 -2
- package/procs/standardize.js +17 -0
package/README.md
CHANGED
|
@@ -57,7 +57,22 @@ Some of the tests of Testaro are designed to act as approximate alternatives to
|
|
|
57
57
|
|
|
58
58
|
## Rules
|
|
59
59
|
|
|
60
|
-
Each tool accessed with Testaro defines _rules_ and tests _targets_ for compliance with its rules. In total, the nine tools define about
|
|
60
|
+
Each tool accessed with Testaro defines _rules_ and tests _targets_ for compliance with its rules. In total, the nine tools define about 960 rules. The latest tabulation of tool rules is:
|
|
61
|
+
|
|
62
|
+
```
|
|
63
|
+
alfa: 59
|
|
64
|
+
aslint: 133
|
|
65
|
+
axe: 80
|
|
66
|
+
htmlcs: 115
|
|
67
|
+
ibm: 132
|
|
68
|
+
nuVal: 215
|
|
69
|
+
qualWeb: 131
|
|
70
|
+
testaro: 36
|
|
71
|
+
wave: 58
|
|
72
|
+
total: 959
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
Some of the tools are under active development, and their rule counts change over time.
|
|
61
76
|
|
|
62
77
|
When you ask Testaro to run tests of a tool, you may specify a subset of the rules of that tool, and the report will give you the results of only the tests for those rules. These tools will perform only those tests:
|
|
63
78
|
- `alfa`
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "testaro",
|
|
3
|
-
"version": "28.1.
|
|
4
|
-
"description": "Run
|
|
3
|
+
"version": "28.1.4",
|
|
4
|
+
"description": "Run 960 web accessibility tests from 9 tools and get a standardized report",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"tests": "node validation/executors/tests",
|
package/procs/standardize.js
CHANGED
|
@@ -112,6 +112,23 @@ const aslintData = {
|
|
|
112
112
|
'page-title': [
|
|
113
113
|
['empty', 'page-titleN'],
|
|
114
114
|
['not identify', 'page-titleU']
|
|
115
|
+
],
|
|
116
|
+
'aria-labelledby-association': [
|
|
117
|
+
['exist', 'aria-labelledby-associationN'],
|
|
118
|
+
['empty', 'aria-labelledby-associationE']
|
|
119
|
+
],
|
|
120
|
+
'html-lang-attr': [
|
|
121
|
+
['parameters', 'html-lang-attrP'],
|
|
122
|
+
['nothing', 'html-lang-attrN'],
|
|
123
|
+
['empty', 'html-lang-attrE']
|
|
124
|
+
],
|
|
125
|
+
'missing-label': [
|
|
126
|
+
['associated', 'missing-labelI'],
|
|
127
|
+
['defined', 'missing-labelN'],
|
|
128
|
+
['multiple labels', 'missing-labelM']
|
|
129
|
+
],
|
|
130
|
+
'orientation': [
|
|
131
|
+
['loaded', 'orientationT']
|
|
115
132
|
]
|
|
116
133
|
};
|
|
117
134
|
// Converts issue instances at an axe certainty level.
|