testilo 9.0.2 → 10.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.
Files changed (51) hide show
  1. package/README.md +31 -19
  2. package/package.json +1 -1
  3. package/procs/score/{sp20b.js → tic21.js} +1252 -991
  4. package/procs/score/tsp21.js +720 -0
  5. package/specs/batches/orgs.json +43 -0
  6. package/specs/scripts/ts21.json +212 -0
  7. package/toolRules/qualWeb.tsv +121 -0
  8. package/procs/score/sp10a.js +0 -591
  9. package/procs/score/sp10b.js +0 -507
  10. package/procs/score/sp10c.js +0 -465
  11. package/procs/score/sp11a.js +0 -1968
  12. package/procs/score/sp12a.js +0 -3000
  13. package/procs/score/sp12b.js +0 -3315
  14. package/procs/score/sp14a.js +0 -4101
  15. package/procs/score/sp15a.js +0 -4899
  16. package/procs/score/sp15b.js +0 -6279
  17. package/procs/score/sp15c.js +0 -6282
  18. package/procs/score/sp16a.js +0 -6362
  19. package/procs/score/sp16b.js +0 -6370
  20. package/procs/score/sp16c.js +0 -6364
  21. package/procs/score/sp17a.js +0 -6099
  22. package/procs/score/sp18a.js +0 -6378
  23. package/procs/score/sp20a.js +0 -6379
  24. package/procs/score/spHover.js +0 -328
  25. package/procs/score/tsp09a.js +0 -564
  26. package/scoring/data/correlations.json +0 -327
  27. package/scoring/data/data.json +0 -26021
  28. package/scoring/data/dupCounts.json +0 -112
  29. package/scoring/data/duplications.json +0 -253
  30. package/scoring/data/groups.json +0 -335
  31. package/scoring/data/issues.json +0 -304
  32. package/scoring/data/rulesetData.json +0 -15
  33. package/scoring/data/testGroups.json +0 -1067
  34. package/scoring/procs/asp09.js +0 -555
  35. package/scoring/procs/asp09NoWAVE.js +0 -508
  36. package/scoring/procs/correlation.js +0 -76
  37. package/scoring/procs/dupCounts.js +0 -39
  38. package/scoring/procs/groups.js +0 -61
  39. package/scoring/procs/packageData.js +0 -171
  40. package/scoring/procs/packageIssues.js +0 -34
  41. package/scoring/procs/regroup.js +0 -39
  42. package/scoring/procs/tempgroup.js +0 -96
  43. /package/procs/score/{spA11yMessage.js → tspA11yMessage.js} +0 -0
  44. /package/procs/score/{spProductPrice.js → tspProductPrice.js} +0 -0
  45. /package/{scoring/data/packageRules → toolRules}/alfa.tsv +0 -0
  46. /package/{scoring/data/packageRules → toolRules}/axe.js +0 -0
  47. /package/{scoring/data/packageRules → toolRules}/htmlcs.js +0 -0
  48. /package/{scoring/data/packageRules → toolRules}/ibm.tsv +0 -0
  49. /package/{scoring/data/packageRules → toolRules}/tenon.tsv +0 -0
  50. /package/{scoring/data/packageRules → toolRules}/wave.json +0 -0
  51. /package/{scoring/data/packageRules → toolRules}/wave.tsv +0 -0
@@ -0,0 +1,43 @@
1
+ {
2
+ "id": "web",
3
+ "what": "two targets",
4
+ "targets": [
5
+ {
6
+ "id": "example",
7
+ "what": "Example",
8
+ "acts": {
9
+ "main": [
10
+ {
11
+ "type": "launch"
12
+ },
13
+ {
14
+ "type": "url",
15
+ "which": "https://example.com",
16
+ "what": "example"
17
+ }
18
+ ]
19
+ }
20
+ },
21
+ {
22
+ "id": "accordion",
23
+ "what": "WAI accordion example",
24
+ "acts": {
25
+ "main": [
26
+ {
27
+ "type": "launch"
28
+ },
29
+ {
30
+ "type": "url",
31
+ "which": "https://www.w3.org/WAI/ARIA/apg/example-index/accordion/accordion",
32
+ "what": "WAI accordion example"
33
+ },
34
+ {
35
+ "type": "button",
36
+ "which": "Billing Address",
37
+ "what": "expand accordion"
38
+ }
39
+ ]
40
+ }
41
+ }
42
+ ]
43
+ }
@@ -0,0 +1,212 @@
1
+ {
2
+ "id": "ts21",
3
+ "what": "tests of Testaro and 9 other tools",
4
+ "strict": true,
5
+ "timeLimit": 600,
6
+ "acts": [
7
+ {
8
+ "type": "placeholder",
9
+ "which": "main",
10
+ "launch": "webkit"
11
+ },
12
+ {
13
+ "type": "tenonRequest",
14
+ "id": "a",
15
+ "withNewContent": true,
16
+ "what": "Tenon API version 2 test request, with URL"
17
+ },
18
+ {
19
+ "type": "test",
20
+ "which": "motion",
21
+ "what": "spontaneous change of content; requires webkit",
22
+ "delay": 2500,
23
+ "interval": 2500,
24
+ "count": 5
25
+ },
26
+ {
27
+ "type": "placeholder",
28
+ "which": "main",
29
+ "launch": "chromium"
30
+ },
31
+ {
32
+ "type": "test",
33
+ "which": "allHidden",
34
+ "what": "document entirely or mainly hidden"
35
+ },
36
+ {
37
+ "type": "test",
38
+ "which": "bulk",
39
+ "what": "count of visible elements"
40
+ },
41
+ {
42
+ "type": "test",
43
+ "which": "docType",
44
+ "what": "missing or invalid doctype declaration"
45
+ },
46
+ {
47
+ "type": "test",
48
+ "which": "embAc",
49
+ "withItems": true,
50
+ "what": "active elements incorrectly embedded in each other"
51
+ },
52
+ {
53
+ "type": "test",
54
+ "which": "filter",
55
+ "withItems": true,
56
+ "what": "filter styles"
57
+ },
58
+ {
59
+ "type": "test",
60
+ "which": "focAll",
61
+ "what": "Tab-focusability"
62
+ },
63
+ {
64
+ "type": "test",
65
+ "which": "focInd",
66
+ "revealAll": false,
67
+ "allowedDelay": 250,
68
+ "withItems": true,
69
+ "what": "focus indicators"
70
+ },
71
+ {
72
+ "type": "test",
73
+ "which": "focOp",
74
+ "withItems": true,
75
+ "what": "focusability and operability of elements"
76
+ },
77
+ {
78
+ "type": "test",
79
+ "which": "focVis",
80
+ "withItems": true,
81
+ "what": "links outside display when focused"
82
+ },
83
+ {
84
+ "type": "test",
85
+ "which": "hover",
86
+ "sampleSize": 20,
87
+ "withItems": true,
88
+ "what": "hover impacts"
89
+ },
90
+ {
91
+ "type": "test",
92
+ "which": "labClash",
93
+ "withItems": true,
94
+ "what": "unlabeled and mislabeled form controls"
95
+ },
96
+ {
97
+ "type": "test",
98
+ "which": "linkTo",
99
+ "withItems": true,
100
+ "what": "links without destinations"
101
+ },
102
+ {
103
+ "type": "test",
104
+ "which": "linkUl",
105
+ "withItems": true,
106
+ "what": "underlining of inline links"
107
+ },
108
+ {
109
+ "type": "test",
110
+ "which": "miniText",
111
+ "withItems": true,
112
+ "what": "small text"
113
+ },
114
+ {
115
+ "type": "test",
116
+ "which": "menuNav",
117
+ "withItems": true,
118
+ "what": "keyboard navigation within true-focus menus"
119
+ },
120
+ {
121
+ "type": "test",
122
+ "which": "nonTable",
123
+ "withItems": true,
124
+ "what": "tables used for layout"
125
+ },
126
+ {
127
+ "type": "test",
128
+ "which": "radioSet",
129
+ "withItems": true,
130
+ "what": "grouping of radio buttons in fieldsets"
131
+ },
132
+ {
133
+ "type": "test",
134
+ "which": "role",
135
+ "what": "validity and necessity of role assignments"
136
+ },
137
+ {
138
+ "type": "test",
139
+ "which": "styleDiff",
140
+ "withItems": true,
141
+ "what": "style consistency of headings, buttons, and links"
142
+ },
143
+ {
144
+ "type": "test",
145
+ "which": "tabNav",
146
+ "withItems": true,
147
+ "what": "keyboard navigation within tab lists"
148
+ },
149
+ {
150
+ "type": "test",
151
+ "which": "titledEl",
152
+ "withItems": true,
153
+ "what": "title attributes on inappropriate elements"
154
+ },
155
+ {
156
+ "type": "test",
157
+ "which": "zIndex",
158
+ "withItems": true,
159
+ "what": "elements with non-auto z indexes"
160
+ },
161
+ {
162
+ "type": "test",
163
+ "which": "alfa",
164
+ "what": "Siteimprove alfa"
165
+ },
166
+ {
167
+ "type": "test",
168
+ "which": "axe",
169
+ "detailLevel": 2,
170
+ "rules": [],
171
+ "what": "Axe core, all rules"
172
+ },
173
+ {
174
+ "type": "test",
175
+ "which": "continuum",
176
+ "what": "Continuum"
177
+ },
178
+ {
179
+ "type": "test",
180
+ "which": "htmlcs",
181
+ "what": "HTML CodeSniffer"
182
+ },
183
+ {
184
+ "type": "test",
185
+ "which": "ibm",
186
+ "withItems": true,
187
+ "what": "IBM Accessibility Checker, with page content and again with URL"
188
+ },
189
+ {
190
+ "type": "test",
191
+ "which": "nuVal",
192
+ "what": "Nu Html Checker"
193
+ },
194
+ {
195
+ "type": "test",
196
+ "which": "qualWeb",
197
+ "what": "QualWeb"
198
+ },
199
+ {
200
+ "type": "test",
201
+ "which": "wave",
202
+ "reportType": 4,
203
+ "what": "WAVE, report-type 4"
204
+ },
205
+ {
206
+ "type": "test",
207
+ "which": "tenon",
208
+ "id": "a",
209
+ "what": "Tenon API version 2 result retrieval"
210
+ }
211
+ ]
212
+ }
@@ -0,0 +1,121 @@
1
+ QW-ACT-R1 2779a5 HTML Page has a title
2
+ QW-ACT-R2 b5c3f8 HTML has lang attribute
3
+ QW-ACT-R3 5b7ae0 HTML lang and xml:lang match
4
+ QW-ACT-R4 bc659a Meta-refresh no delay
5
+ QW-ACT-R5 bf051a Validity of HTML Lang attribute
6
+ QW-ACT-R6 59796f Image button has accessible name
7
+ QW-ACT-R7 b33eff Orientation of the page is not restricted using CSS transform property
8
+ QW-ACT-R9 b20e66 Links with identical accessible names have equivalent purpose
9
+ QW-ACT-R10 4b1c6c iframe elements with identical accessible names have equivalent purpose
10
+ QW-ACT-R11 97a4e1 Button has accessible name
11
+ QW-ACT-R12 c487ae Link has accessible name
12
+ QW-ACT-R13 6cfa84 Element with aria-hidden has no focusable content
13
+ QW-ACT-R14 b4f0c3 meta viewport does not prevent zoom
14
+ QW-ACT-R15 80f0bf audio or video has no audio that plays automatically
15
+ QW-ACT-R16 e086e5 Form control has accessible name
16
+ QW-ACT-R17 23a2a8 Image has accessible name
17
+ QW-ACT-R18 3ea0c8 id attribute value is unique
18
+ QW-ACT-R19 cae760 iframe element has accessible name
19
+ QW-ACT-R20 674b10 role attribute has valid value
20
+ QW-ACT-R21 7d6734 svg element with explicit role has accessible name
21
+ QW-ACT-R22 de46e4 Element within body has valid lang attribute
22
+ QW-ACT-R23 c5a4ea video element visual content has accessible alternative
23
+ QW-ACT-R24 73f2c2 autocomplete attribute has valid value
24
+ QW-ACT-R25 5c01ea ARIA state or property is permitted
25
+ QW-ACT-R26 eac66b video element auditory content has accessible alternative
26
+ QW-ACT-R27 5f99a7 This rule checks that each aria- attribute specified is defined in ARIA 1.1.
27
+ QW-ACT-R28 4e8ab6 Element with role attribute has required states and properties
28
+ QW-ACT-R29 e7aa44 Audio element content has text alternative
29
+ QW-ACT-R30 2ee8b8 Visible label is part of accessible name
30
+ QW-ACT-R31 c3232f Video element visual-only content has accessible alternative
31
+ QW-ACT-R32 1ec09b video element visual content has strict accessible alternative
32
+ QW-ACT-R33 ff89c9 ARIA required context role
33
+ QW-ACT-R34 6a7281 ARIA state or property has valid value
34
+ QW-ACT-R35 ffd0e9 Heading has accessible name
35
+ QW-ACT-R36 a25f45 Headers attribute specified on a cell refers to cells in the same table element
36
+ QW-ACT-R37 afw4f7 Text has minimum contrast
37
+ QW-ACT-R38 bc4a75 ARIA required owned elements
38
+ QW-ACT-R39 d0f69e All table header cells have assigned data cells
39
+ QW-ACT-R40 59br37 Zoomed text node is not clipped with CSS overflow
40
+ QW-ACT-R41 36b590 Error message describes invalid form field value
41
+ QW-ACT-R42 8fc3b6 Object element has non-empty accessible name
42
+ QW-ACT-R43 0ssw9k Scrollable element is keyboard accessible
43
+ QW-ACT-R44 fd3a94 Links with identical accessible names and context serve equivalent purpose
44
+ QW-ACT-R48 46ca7f Element marked as decorative is not exposed
45
+ QW-ACT-R49 aaa1bf Audio or video that plays automatically has no audio that lasts more than 3 seconds
46
+ QW-ACT-R50 4c31df Audio or video that plays automatically has a control mechanism
47
+ QW-ACT-R51 fd26cf video element visual-only content is media alternative for text
48
+ QW-ACT-R52 ac7dc6 video element visual-only content has description track
49
+ QW-ACT-R53 ee13b5 video element visual-only content has transcript
50
+ QW-ACT-R54 d7ba54 video element visual-only content has audio track alternative
51
+ QW-ACT-R55 1ea59c video element visual content has audio description
52
+ QW-ACT-R56 ab4d13 video element content is media alternative for text
53
+ QW-ACT-R57 f196ce video element visual content has description track
54
+ QW-ACT-R58 2eb176 audio element content has transcript
55
+ QW-ACT-R59 afb423 audio element content is media alternative for text
56
+ QW-ACT-R60 f51b46 video element auditory content has captions
57
+ QW-ACT-R61 1a02b0 video element visual content has transcript
58
+ QW-ACT-R62 oj04fd Element in sequential focus order has visible focus
59
+ QW-ACT-R63 b40fd1 Document has a landmark with non-repeated content
60
+ QW-ACT-R64 047fe0 Document has heading for non-repeated content
61
+ QW-ACT-R65 307n5z Element with presentational children has no focusable content
62
+ QW-ACT-R66 m6b1q3 Menuitem has non-empty accessible name
63
+ QW-ACT-R67 24afc2 Letter spacing in style attributes is not !important
64
+ QW-ACT-R68 78fd32 Line height in style attributes is not !important
65
+ QW-ACT-R69 9e45ec Word spacing in style attributes is not !important
66
+ QW-ACT-R70 akn7bn frame with negative tabindex has no interactive elements
67
+ QW-ACT-R71 bisz58 meta element has no refresh delay (no exception)
68
+ QW-ACT-R72 8a213c First focusable element is link to non-repeated content
69
+ QW-ACT-R73 3e12e1 Block of repeated content is collapsible
70
+ QW-ACT-R74 ye5d6e Document has an instrument to move focus to non-repeated content
71
+ QW-ACT-R75 cf77f2 Bypass Blocks of Repeated Content
72
+ QW-ACT-R76 09o5cg Text has enhanced contrast
73
+ QW-WCAG-T1 H24 Providing text alternatives for the area elements of image maps
74
+ QW-WCAG-T2 H39 Using caption elements to associate data table captions with data tables
75
+ QW-WCAG-T3 H71 Providing a description for groups of form controls using fieldset and legend elements
76
+ QW-WCAG-T4 H73 Using the summary attribute of the table element to give an overview of data tables
77
+ QW-WCAG-T5 H36 Using alt attributes on images used as submit buttons
78
+ QW-WCAG-T6 SCR20 Using both keyboard and other device-specific functions
79
+ QW-WCAG-T7 H28 Providing definitions for abbreviations by using the abbr element
80
+ QW-WCAG-T8 F30 Failure of Success Criterion 1.1.1 and 1.2.1 due to using text alternatives that are not alternatives
81
+ QW-WCAG-T9 G141 Organizing a page using headings
82
+ QW-WCAG-T10 H2 Combining adjacent image and text links for the same resource
83
+ QW-WCAG-T11 H35 Providing text alternatives on applet elements
84
+ QW-WCAG-T12 F46 Failure of Success Criterion 1.3.1 due to using th elements, caption elements, or non-empty summary attributes in layout tables
85
+ QW-WCAG-T13 F47 Failure of Success Criterion 2.2.2 due to using the blink element
86
+ QW-WCAG-T14 H43 Using id and headers attributes to associate data cells with header cells in data tables
87
+ QW-WCAG-T15 H59 Using the link element and navigation tools
88
+ QW-WCAG-T16 H88 Using HTML according to spec
89
+ QW-WCAG-T17 G162 Positioning labels to maximize predictability of relationships
90
+ QW-WCAG-T18 H51 Using table markup to present tabular information
91
+ QW-WCAG-T19 H32 Providing submit buttons
92
+ QW-WCAG-T20 H33 Supplementing link text with the title attribute
93
+ QW-WCAG-T21 F89 Failure of Success Criteria 2.4.4, 2.4.9 and 4.1.2 due to not providing an accessible name for an image which is the only content in a link
94
+ QW-WCAG-T22 F52 Failure of Success Criterion 3.2.1 and 3.2.5 due to opening a new window as soon as a new page is loaded
95
+ QW-WCAG-T23 G1 Adding a link at the top of each page that goes directly to the main content area
96
+ QW-WCAG-T24 F55 Failure of Success Criteria 2.1.1, 2.4.7, and 3.2.1 due to using script to remove focus when focus is received
97
+ QW-WCAG-T25 H63 Using the scope attribute to associate header cells and data cells in data tables
98
+ QW-WCAG-T26 F59 Failure of Success Criterion 4.1.2 due to using script to make div or span a user interface control in HTML without providing a role for the control
99
+ QW-WCAG-T27 F88 Failure of Success Criterion 1.4.8 due to using text that is justified (aligned to both the left and the right margins)
100
+ QW-WCAG-T28 C12 C13 C14 Using percent, em, names for font sizes
101
+ QW-WCAG-T29 C19 Specifying alignment either to the left or right in CSS
102
+ QW-WCAG-T30 F4 Failure of Success Criterion 2.2.2 due to using text-decoration:blink without a mechanism to stop it in less than five seconds
103
+ QW-WCAG-T31 F24 Failure of Success Criterion 1.4.3, 1.4.6 and 1.4.8 due to specifying foreground colors without specifying background colors or vice versa
104
+ QW-WCAG-T32 H48 Using ol, ul and dl for lists or groups of links
105
+ QW-BP1 HTML Using h1-h6 to identify headings
106
+ QW-BP2 HTML Concise images alt text
107
+ QW-BP3 HTML Link element with text content equal to the content of the title attribute
108
+ QW-BP4 HTML Grouped links not within a nav element
109
+ QW-BP5 HTML Using table elements inside other table elements
110
+ QW-BP6 HTML title element is not too long (64 characters)
111
+ QW-BP7 HTML Title element contains ASCII-art
112
+ QW-BP8 HTML Headings with images should have an accessible name
113
+ QW-BP9 HTML Table element without header cells has a caption
114
+ QW-BP10 HTML HTML elements are used to control visual presentation of content
115
+ QW-BP11 HTML Using br to make a list
116
+ QW-BP12 HTML Using scope col and row
117
+ QW-BP13 HTML Using consecutive links with the same href and one contains an image
118
+ QW-BP14 CSS At least one container's width has been specified using values expressed in px
119
+ QW-BP15 CSS At least one width attribute of an HTML element is expressed in absolute values
120
+ QW-BP17 HTML Adding a link at the beginning of a block of repeated content to go to the end of the block
121
+ QW-BP18 CSS Using percentage values in CSS for container sizes