@qualweb/earl-reporter 0.4.0 → 0.4.3
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 +14 -14
- package/README.md +68 -68
- package/dist/constants.d.ts +941 -0
- package/dist/constants.d.ts.map +1 -0
- package/dist/constants.js +945 -0
- package/dist/constants.js.map +1 -0
- package/dist/index.d.ts +6 -10
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +155 -141
- package/dist/index.js.map +1 -1
- package/package.json +63 -63
- package/CHANGELOG.md +0 -111
package/LICENSE
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
ISC License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2021, FCUL
|
|
4
|
-
|
|
5
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
|
6
|
-
purpose with or without fee is hereby granted, provided that the above
|
|
7
|
-
copyright notice and this permission notice appear in all copies.
|
|
8
|
-
|
|
9
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
|
10
|
-
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
|
11
|
-
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
|
12
|
-
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
|
13
|
-
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
|
14
|
-
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
|
1
|
+
ISC License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2021, FCUL
|
|
4
|
+
|
|
5
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
6
|
+
purpose with or without fee is hereby granted, provided that the above
|
|
7
|
+
copyright notice and this permission notice appear in all copies.
|
|
8
|
+
|
|
9
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
|
10
|
+
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
|
11
|
+
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
|
12
|
+
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
|
13
|
+
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
|
14
|
+
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
|
15
15
|
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,69 +1,69 @@
|
|
|
1
|
-
# QualWeb EARL reporter
|
|
2
|
-
|
|
3
|
-
EARL reporter module for QualWeb.
|
|
4
|
-
|
|
5
|
-
## How to use
|
|
6
|
-
|
|
7
|
-
**This is an internal module of QualWeb. To use it check either [@qualweb/cli](https://github.com/qualweb/cli) or [@qualweb/core](https://github.com/qualweb/core).**
|
|
8
|
-
|
|
9
|
-
## Report details
|
|
10
|
-
|
|
11
|
-
```jsonc
|
|
12
|
-
{
|
|
13
|
-
"@context": "https://act-rules.github.io/earl-context.json",
|
|
14
|
-
"@graph": [
|
|
15
|
-
{
|
|
16
|
-
"@type": "TestSubject",
|
|
17
|
-
"source": "url of the tested webpage",
|
|
18
|
-
"redirectedTo": "final url after redirects (if any)",
|
|
19
|
-
"assertor": {
|
|
20
|
-
"@id": "QualWeb",
|
|
21
|
-
"@type": "Software",
|
|
22
|
-
"title": "QualWeb",
|
|
23
|
-
"description": "QualWeb is an automatic accessibility evaluator for webpages.",
|
|
24
|
-
"hasVersion": "QualWeb version",
|
|
25
|
-
"homepage": "http://www.qualweb.di.fc.ul.pt/"
|
|
26
|
-
},
|
|
27
|
-
"assertions": [
|
|
28
|
-
{
|
|
29
|
-
"@type": "Assertion",
|
|
30
|
-
"test": {
|
|
31
|
-
"@id": "url fo the rule/technique",
|
|
32
|
-
"@type": "TestCase",
|
|
33
|
-
"title": "rule/technique name",
|
|
34
|
-
"description": "rule/technique description"
|
|
35
|
-
},
|
|
36
|
-
"mode": "earl:automatic",
|
|
37
|
-
"result": {
|
|
38
|
-
"@type": "TestResult",
|
|
39
|
-
"outcome": "outcome of the rule/technique",
|
|
40
|
-
"source": [
|
|
41
|
-
{
|
|
42
|
-
"result": {
|
|
43
|
-
"pointer": "Pointer to the test target in CSS notation",
|
|
44
|
-
"outcome": "outcome of the test"
|
|
45
|
-
}
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
...
|
|
49
|
-
}
|
|
50
|
-
],
|
|
51
|
-
"description": "Description of the outcome",
|
|
52
|
-
"date": "Date of the evaluation"
|
|
53
|
-
}
|
|
54
|
-
},
|
|
55
|
-
{
|
|
56
|
-
...
|
|
57
|
-
}
|
|
58
|
-
]
|
|
59
|
-
},
|
|
60
|
-
{
|
|
61
|
-
...
|
|
62
|
-
}
|
|
63
|
-
]
|
|
64
|
-
}
|
|
65
|
-
```
|
|
66
|
-
|
|
67
|
-
# License
|
|
68
|
-
|
|
1
|
+
# QualWeb EARL reporter
|
|
2
|
+
|
|
3
|
+
EARL reporter module for QualWeb.
|
|
4
|
+
|
|
5
|
+
## How to use
|
|
6
|
+
|
|
7
|
+
**This is an internal module of QualWeb. To use it check either [@qualweb/cli](https://github.com/qualweb/cli) or [@qualweb/core](https://github.com/qualweb/core).**
|
|
8
|
+
|
|
9
|
+
## Report details
|
|
10
|
+
|
|
11
|
+
```jsonc
|
|
12
|
+
{
|
|
13
|
+
"@context": "https://act-rules.github.io/earl-context.json",
|
|
14
|
+
"@graph": [
|
|
15
|
+
{
|
|
16
|
+
"@type": "TestSubject",
|
|
17
|
+
"source": "url of the tested webpage",
|
|
18
|
+
"redirectedTo": "final url after redirects (if any)",
|
|
19
|
+
"assertor": {
|
|
20
|
+
"@id": "QualWeb",
|
|
21
|
+
"@type": "Software",
|
|
22
|
+
"title": "QualWeb",
|
|
23
|
+
"description": "QualWeb is an automatic accessibility evaluator for webpages.",
|
|
24
|
+
"hasVersion": "QualWeb version",
|
|
25
|
+
"homepage": "http://www.qualweb.di.fc.ul.pt/"
|
|
26
|
+
},
|
|
27
|
+
"assertions": [
|
|
28
|
+
{
|
|
29
|
+
"@type": "Assertion",
|
|
30
|
+
"test": {
|
|
31
|
+
"@id": "url fo the rule/technique",
|
|
32
|
+
"@type": "TestCase",
|
|
33
|
+
"title": "rule/technique name",
|
|
34
|
+
"description": "rule/technique description"
|
|
35
|
+
},
|
|
36
|
+
"mode": "earl:automatic",
|
|
37
|
+
"result": {
|
|
38
|
+
"@type": "TestResult",
|
|
39
|
+
"outcome": "outcome of the rule/technique",
|
|
40
|
+
"source": [
|
|
41
|
+
{
|
|
42
|
+
"result": {
|
|
43
|
+
"pointer": "Pointer to the test target in CSS notation",
|
|
44
|
+
"outcome": "outcome of the test"
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
...
|
|
49
|
+
}
|
|
50
|
+
],
|
|
51
|
+
"description": "Description of the outcome",
|
|
52
|
+
"date": "Date of the evaluation"
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
...
|
|
57
|
+
}
|
|
58
|
+
]
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
...
|
|
62
|
+
}
|
|
63
|
+
]
|
|
64
|
+
}
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
# License
|
|
68
|
+
|
|
69
69
|
ISC
|