testaro 67.0.0 → 68.0.0
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/LICENSE +4 -16
- package/README.md +10 -2
- package/UPGRADES.md +1 -1
- package/dirWatch.js +2 -3
- package/ed11y/editoria11y.min.js +109 -690
- package/ed11y/editoria11y210.min.js +747 -0
- package/netWatch.js +6 -6
- package/package.json +1 -1
- package/procs/aslint.js +2 -2
- package/procs/catalog.js +190 -0
- package/procs/{dateOf.js → dateTime.js} +6 -4
- package/procs/doActs.js +1227 -0
- package/procs/doTestAct.js +63 -29
- package/procs/error.js +53 -0
- package/procs/job.js +64 -38
- package/procs/launch.js +596 -0
- package/procs/nu.js +3 -18
- package/procs/shoot.js +18 -2
- package/procs/testaro.js +102 -125
- package/procs/xPath.js +62 -0
- package/run.js +42 -1938
- package/scratch/README.md +9 -0
- package/testaro/adbID.js +3 -3
- package/testaro/allCaps.js +4 -5
- package/testaro/allHidden.js +19 -18
- package/testaro/allSlanted.js +4 -5
- package/testaro/altScheme.js +3 -3
- package/testaro/attVal.js +19 -35
- package/testaro/autocomplete.js +65 -62
- package/testaro/bulk.js +21 -20
- package/testaro/buttonMenu.js +112 -33
- package/testaro/captionLoc.js +3 -3
- package/testaro/datalistRef.js +4 -5
- package/testaro/distortion.js +3 -3
- package/testaro/docType.js +6 -9
- package/testaro/dupAtt.js +12 -25
- package/testaro/elements.js +4 -3
- package/testaro/embAc.js +4 -2
- package/testaro/focAll.js +6 -13
- package/testaro/focAndOp.js +3 -3
- package/testaro/focInd.js +3 -3
- package/testaro/focVis.js +4 -3
- package/testaro/headEl.js +5 -12
- package/testaro/headingAmb.js +45 -88
- package/testaro/hovInd.js +5 -5
- package/testaro/hover.js +44 -8
- package/testaro/hr.js +4 -4
- package/testaro/imageLink.js +3 -3
- package/testaro/labClash.js +3 -3
- package/testaro/legendLoc.js +3 -3
- package/testaro/lineHeight.js +3 -3
- package/testaro/linkAmb.js +25 -17
- package/testaro/linkExt.js +5 -5
- package/testaro/linkOldAtt.js +4 -3
- package/testaro/linkTo.js +4 -3
- package/testaro/linkUl.js +4 -5
- package/testaro/miniText.js +4 -3
- package/testaro/motion.js +3 -22
- package/testaro/nonTable.js +4 -5
- package/testaro/optRoleSel.js +3 -3
- package/testaro/phOnly.js +3 -3
- package/testaro/pseudoP.js +5 -5
- package/testaro/radioSet.js +4 -5
- package/testaro/role.js +4 -5
- package/testaro/secHeading.js +4 -5
- package/testaro/shoot0.js +3 -2
- package/testaro/shoot1.js +3 -2
- package/testaro/styleDiff.js +5 -12
- package/testaro/tabNav.js +30 -118
- package/testaro/targetSmall.js +30 -15
- package/testaro/textNodes.js +3 -1
- package/testaro/textSem.js +4 -5
- package/testaro/title.js +4 -2
- package/testaro/titledEl.js +3 -3
- package/testaro/zIndex.js +3 -3
- package/tests/alfa.js +28 -54
- package/tests/aslint.js +20 -53
- package/tests/axe.js +76 -13
- package/tests/ed11y.js +69 -141
- package/tests/htmlcs.js +69 -38
- package/tests/ibm.js +54 -9
- package/tests/nuVal.js +65 -12
- package/tests/nuVnu.js +76 -26
- package/tests/qualWeb.js +89 -44
- package/tests/testaro.js +288 -273
- package/tests/wave.js +142 -117
- package/tests/wax.js +61 -42
- package/procs/getLocatorData.js +0 -192
- package/procs/identify.js +0 -250
- package/procs/isInlineLink.js +0 -42
- package/procs/screenShot.js +0 -32
- package/procs/standardize.js +0 -524
- package/procs/target.js +0 -90
- package/procs/tellServer.js +0 -43
- package/scripts/dumpAlts.js +0 -28
package/LICENSE
CHANGED
|
@@ -1,22 +1,10 @@
|
|
|
1
1
|
MIT License
|
|
2
2
|
|
|
3
3
|
© 2021–2025 CVS Health and/or one of its affiliates. All rights reserved.
|
|
4
|
-
© 2025 Jonathan Robert Pool.
|
|
4
|
+
© 2025–2026 Jonathan Robert Pool.
|
|
5
5
|
|
|
6
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
7
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
8
|
-
in the Software without restriction, including without limitation the rights
|
|
9
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
10
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
11
|
-
furnished to do so, subject to the following conditions:
|
|
6
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
12
7
|
|
|
13
|
-
The above copyright notice and this permission notice shall be included in all
|
|
14
|
-
copies or substantial portions of the Software.
|
|
8
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
15
9
|
|
|
16
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
17
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
18
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
19
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
20
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
21
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
22
|
-
SOFTWARE.
|
|
10
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
package/README.md
CHANGED
|
@@ -2,6 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
Ensemble testing for web accessibility
|
|
4
4
|
|
|
5
|
+
## Breaking change notice
|
|
6
|
+
|
|
7
|
+
Version 68.0.0 introduces major breaking changes.
|
|
8
|
+
|
|
9
|
+
Any application that has successfully relied on version 67.1.0 is likely to fail if it updates this dependency to version 68.0.0 or higher. To prevent such failures, pin this dependency to version 67.1.0 in your `package.json` file.
|
|
10
|
+
|
|
11
|
+
Revision of this `README` document to reflect version 68.0.0 is in progress but is incomplete.
|
|
12
|
+
|
|
5
13
|
## Introduction
|
|
6
14
|
|
|
7
15
|
Testaro is an application for automated web accessibility testing.
|
|
@@ -213,7 +221,7 @@ Here is an example of a job:
|
|
|
213
221
|
|
|
214
222
|
This job tells Testaro to perform two _acts_. One performs one test of the Axe tool wih reporting at detail level 2, and the other performs two tests of the QualWeb tool.
|
|
215
223
|
|
|
216
|
-
Each act includes a `launch` object property. In the first act it is an empty object, the browser ID and target URL specified by the job are used. In the second act it overrides the job values with per-act values.
|
|
224
|
+
Each act includes a `launch` object property. In the first act it is an empty object, so the browser ID and target URL specified by the job are used. In the second act it overrides the job values with per-act values.
|
|
217
225
|
|
|
218
226
|
Job properties:
|
|
219
227
|
|
|
@@ -1069,7 +1077,7 @@ Future work on this project is being considered. Strategic recommendations for s
|
|
|
1069
1077
|
## License
|
|
1070
1078
|
|
|
1071
1079
|
© 2021–2025 CVS Health and/or one of its affiliates. All rights reserved.
|
|
1072
|
-
© 2025 Jonathan Robert Pool.
|
|
1080
|
+
© 2025–2026 Jonathan Robert Pool.
|
|
1073
1081
|
|
|
1074
1082
|
Licensed under the [MIT License](https://opensource.org/license/mit/). See [LICENSE](../../LICENSE) file
|
|
1075
1083
|
at the project root for details.
|
package/UPGRADES.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
## License
|
|
4
4
|
|
|
5
5
|
© 2025 CVS Health and/or one of its affiliates. All rights reserved.
|
|
6
|
-
© 2025 Jonathan Robert Pool.
|
|
6
|
+
© 2025–2026 Jonathan Robert Pool.
|
|
7
7
|
|
|
8
8
|
Licensed under the [MIT License](https://opensource.org/license/mit/). See [LICENSE](../../LICENSE) file
|
|
9
9
|
at the project root for details.
|
package/dirWatch.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
/*
|
|
2
2
|
© 2023–2024 CVS Health and/or one of its affiliates. All rights reserved.
|
|
3
|
+
© 2025–2026 Jonathan Robert Pool.
|
|
3
4
|
|
|
4
5
|
Licensed under the MIT License. See LICENSE file at the project root or
|
|
5
6
|
https://opensource.org/license/mit/ for details.
|
|
@@ -21,7 +22,7 @@ const fs = require('fs/promises');
|
|
|
21
22
|
// Module to perform jobs.
|
|
22
23
|
const {doJob} = require('./run');
|
|
23
24
|
// Module to get dates from time stamps.
|
|
24
|
-
const {dateOf} = require('./procs/
|
|
25
|
+
const {dateOf, nowString} = require('./procs/dateTime');
|
|
25
26
|
|
|
26
27
|
// ########## CONSTANTS
|
|
27
28
|
|
|
@@ -30,8 +31,6 @@ const reportDir = process.env.REPORTDIR;
|
|
|
30
31
|
|
|
31
32
|
// ########## FUNCTIONS
|
|
32
33
|
|
|
33
|
-
// Returns a string representing the date and time.
|
|
34
|
-
const nowString = () => (new Date()).toISOString().slice(2, 16);
|
|
35
34
|
// Writes a directory report.
|
|
36
35
|
const writeDirReport = async report => {
|
|
37
36
|
const jobID = report && report.id;
|