testaro 55.5.0 → 55.5.6
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/.eslintrc.json +41 -41
- package/data/roles.txt +62 -62
- package/htmlcs/.eslintrc.json +67 -67
- package/htmlcs/HTMLCS.js +8204 -8204
- package/htmlcs/licence.txt +24 -24
- package/package.json +1 -1
- package/procs/isInlineLink.js +36 -28
- package/procs/target.js +97 -0
- package/procs/wavedoc.json +1617 -1617
- package/testaro/targetSmall.js +7 -20
- package/testaro/targetTiny.js +6 -19
- package/validation/done/README.md +3 -3
- package/validation/jobs/done/README.md +3 -3
package/.eslintrc.json
CHANGED
|
@@ -1,41 +1,41 @@
|
|
|
1
|
-
{
|
|
2
|
-
"env": {
|
|
3
|
-
"browser": true,
|
|
4
|
-
"commonjs": true,
|
|
5
|
-
"es2021": true,
|
|
6
|
-
"node": true
|
|
7
|
-
},
|
|
8
|
-
"extends": "eslint:recommended",
|
|
9
|
-
"parserOptions": {
|
|
10
|
-
"ecmaVersion": 2021
|
|
11
|
-
},
|
|
12
|
-
"rules": {
|
|
13
|
-
"indent": [
|
|
14
|
-
"error",
|
|
15
|
-
2,
|
|
16
|
-
{
|
|
17
|
-
"MemberExpression": 0,
|
|
18
|
-
"ObjectExpression": "first"
|
|
19
|
-
}
|
|
20
|
-
],
|
|
21
|
-
"linebreak-style": [
|
|
22
|
-
"error",
|
|
23
|
-
"unix"
|
|
24
|
-
],
|
|
25
|
-
"quotes": [
|
|
26
|
-
"error",
|
|
27
|
-
"single"
|
|
28
|
-
],
|
|
29
|
-
"semi": [
|
|
30
|
-
"error",
|
|
31
|
-
"always"
|
|
32
|
-
],
|
|
33
|
-
"no-use-before-define": [
|
|
34
|
-
"error"
|
|
35
|
-
],
|
|
36
|
-
"brace-style": [
|
|
37
|
-
"error",
|
|
38
|
-
"stroustrup"
|
|
39
|
-
]
|
|
40
|
-
}
|
|
41
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"env": {
|
|
3
|
+
"browser": true,
|
|
4
|
+
"commonjs": true,
|
|
5
|
+
"es2021": true,
|
|
6
|
+
"node": true
|
|
7
|
+
},
|
|
8
|
+
"extends": "eslint:recommended",
|
|
9
|
+
"parserOptions": {
|
|
10
|
+
"ecmaVersion": 2021
|
|
11
|
+
},
|
|
12
|
+
"rules": {
|
|
13
|
+
"indent": [
|
|
14
|
+
"error",
|
|
15
|
+
2,
|
|
16
|
+
{
|
|
17
|
+
"MemberExpression": 0,
|
|
18
|
+
"ObjectExpression": "first"
|
|
19
|
+
}
|
|
20
|
+
],
|
|
21
|
+
"linebreak-style": [
|
|
22
|
+
"error",
|
|
23
|
+
"unix"
|
|
24
|
+
],
|
|
25
|
+
"quotes": [
|
|
26
|
+
"error",
|
|
27
|
+
"single"
|
|
28
|
+
],
|
|
29
|
+
"semi": [
|
|
30
|
+
"error",
|
|
31
|
+
"always"
|
|
32
|
+
],
|
|
33
|
+
"no-use-before-define": [
|
|
34
|
+
"error"
|
|
35
|
+
],
|
|
36
|
+
"brace-style": [
|
|
37
|
+
"error",
|
|
38
|
+
"stroustrup"
|
|
39
|
+
]
|
|
40
|
+
}
|
|
41
|
+
}
|
package/data/roles.txt
CHANGED
|
@@ -1,62 +1,62 @@
|
|
|
1
|
-
input type=checkbox role=checkbox
|
|
2
|
-
td role=cell if the ancestor table element is exposed as a role=table
|
|
3
|
-
td role=gridcell if the ancestor table element is exposed as a role=grid or treegrid
|
|
4
|
-
th role=columnheader, rowheader or cell if the ancestor table element is exposed as a role=table
|
|
5
|
-
td role=columnheader, rowheader or gridcell if the ancestor table element is exposed as a role=grid or treegrid
|
|
6
|
-
dd role=definition
|
|
7
|
-
dt role=term
|
|
8
|
-
hr role=separator
|
|
9
|
-
li role=listitem
|
|
10
|
-
ol role=list
|
|
11
|
-
tr role=row
|
|
12
|
-
ul role=list
|
|
13
|
-
dfn role=term
|
|
14
|
-
nav role=navigation
|
|
15
|
-
SVG role=graphics-document
|
|
16
|
-
html role=document
|
|
17
|
-
main role=main
|
|
18
|
-
math role=math
|
|
19
|
-
menu role=list
|
|
20
|
-
aside role=complementary
|
|
21
|
-
table role=table
|
|
22
|
-
tbody role=rowgroup
|
|
23
|
-
tfoot role=rowgroup
|
|
24
|
-
thead role=rowgroup
|
|
25
|
-
button role=button
|
|
26
|
-
dialog role=dialog
|
|
27
|
-
figure role=figure
|
|
28
|
-
output role=status
|
|
29
|
-
article role=article
|
|
30
|
-
details role=group
|
|
31
|
-
section role=region if the section element has an accessible name
|
|
32
|
-
summary role=button
|
|
33
|
-
datalist role=listbox
|
|
34
|
-
fieldset role=group
|
|
35
|
-
h1 to h6 role=heading, aria-level = the number in the element's tag name
|
|
36
|
-
\
|
|
37
|
-
progress role=progressbar
|
|
38
|
-
textarea role=textbox
|
|
39
|
-
a with href role=link
|
|
40
|
-
area with href role=link
|
|
41
|
-
img with alt="" role=presentation
|
|
42
|
-
input type=image role=button
|
|
43
|
-
input type=radio role=radio
|
|
44
|
-
input type=range role=slider
|
|
45
|
-
input type=reset role=button
|
|
46
|
-
input type=button role=button
|
|
47
|
-
input type=number role=spinbutton
|
|
48
|
-
input type=submit role=button
|
|
49
|
-
img with alt="some text" role=img
|
|
50
|
-
img without an alt attribute role=img
|
|
51
|
-
input type=url with no list attribute role=textbox
|
|
52
|
-
input type=tel, with no list attribute role=textbox
|
|
53
|
-
input type=email with no list attribute role=textbox
|
|
54
|
-
input type=search, with no list attribute role=searchbox
|
|
55
|
-
form If the form element has an accessible name: role=form. Otherwise, no corresponding role.
|
|
56
|
-
input type=text or with a missing or invalid type, with no list attribute role=textbox
|
|
57
|
-
select (with a multiple attribute or a size attribute having value greater than 1) role=listbox
|
|
58
|
-
select (with NO multiple attribute and NO size attribute having value greater than 1) role=combobox
|
|
59
|
-
option element that is in a list of options or that represents a suggestion in a datalist role=option
|
|
60
|
-
footer If not a descendant of an article, aside, main, nav or section element, or an element with role=article, complementary, main, navigation or region then role=contentinfo. Otherwise no corresponding role.
|
|
61
|
-
header If not a descendant of an article, aside, main, nav or section element, or an element with role=article, complementary, main, navigation or region then role=banner. Otherwise no corresponding role
|
|
62
|
-
input type=text, search, tel, url, email, or with a missing or invalid type, with a list attribute role=combobox
|
|
1
|
+
input type=checkbox role=checkbox
|
|
2
|
+
td role=cell if the ancestor table element is exposed as a role=table
|
|
3
|
+
td role=gridcell if the ancestor table element is exposed as a role=grid or treegrid
|
|
4
|
+
th role=columnheader, rowheader or cell if the ancestor table element is exposed as a role=table
|
|
5
|
+
td role=columnheader, rowheader or gridcell if the ancestor table element is exposed as a role=grid or treegrid
|
|
6
|
+
dd role=definition
|
|
7
|
+
dt role=term
|
|
8
|
+
hr role=separator
|
|
9
|
+
li role=listitem
|
|
10
|
+
ol role=list
|
|
11
|
+
tr role=row
|
|
12
|
+
ul role=list
|
|
13
|
+
dfn role=term
|
|
14
|
+
nav role=navigation
|
|
15
|
+
SVG role=graphics-document
|
|
16
|
+
html role=document
|
|
17
|
+
main role=main
|
|
18
|
+
math role=math
|
|
19
|
+
menu role=list
|
|
20
|
+
aside role=complementary
|
|
21
|
+
table role=table
|
|
22
|
+
tbody role=rowgroup
|
|
23
|
+
tfoot role=rowgroup
|
|
24
|
+
thead role=rowgroup
|
|
25
|
+
button role=button
|
|
26
|
+
dialog role=dialog
|
|
27
|
+
figure role=figure
|
|
28
|
+
output role=status
|
|
29
|
+
article role=article
|
|
30
|
+
details role=group
|
|
31
|
+
section role=region if the section element has an accessible name
|
|
32
|
+
summary role=button
|
|
33
|
+
datalist role=listbox
|
|
34
|
+
fieldset role=group
|
|
35
|
+
h1 to h6 role=heading, aria-level = the number in the element's tag name
|
|
36
|
+
\
|
|
37
|
+
progress role=progressbar
|
|
38
|
+
textarea role=textbox
|
|
39
|
+
a with href role=link
|
|
40
|
+
area with href role=link
|
|
41
|
+
img with alt="" role=presentation
|
|
42
|
+
input type=image role=button
|
|
43
|
+
input type=radio role=radio
|
|
44
|
+
input type=range role=slider
|
|
45
|
+
input type=reset role=button
|
|
46
|
+
input type=button role=button
|
|
47
|
+
input type=number role=spinbutton
|
|
48
|
+
input type=submit role=button
|
|
49
|
+
img with alt="some text" role=img
|
|
50
|
+
img without an alt attribute role=img
|
|
51
|
+
input type=url with no list attribute role=textbox
|
|
52
|
+
input type=tel, with no list attribute role=textbox
|
|
53
|
+
input type=email with no list attribute role=textbox
|
|
54
|
+
input type=search, with no list attribute role=searchbox
|
|
55
|
+
form If the form element has an accessible name: role=form. Otherwise, no corresponding role.
|
|
56
|
+
input type=text or with a missing or invalid type, with no list attribute role=textbox
|
|
57
|
+
select (with a multiple attribute or a size attribute having value greater than 1) role=listbox
|
|
58
|
+
select (with NO multiple attribute and NO size attribute having value greater than 1) role=combobox
|
|
59
|
+
option element that is in a list of options or that represents a suggestion in a datalist role=option
|
|
60
|
+
footer If not a descendant of an article, aside, main, nav or section element, or an element with role=article, complementary, main, navigation or region then role=contentinfo. Otherwise no corresponding role.
|
|
61
|
+
header If not a descendant of an article, aside, main, nav or section element, or an element with role=article, complementary, main, navigation or region then role=banner. Otherwise no corresponding role
|
|
62
|
+
input type=text, search, tel, url, email, or with a missing or invalid type, with a list attribute role=combobox
|
package/htmlcs/.eslintrc.json
CHANGED
|
@@ -1,67 +1,67 @@
|
|
|
1
|
-
{
|
|
2
|
-
"root": true,
|
|
3
|
-
"env": {
|
|
4
|
-
"browser": true,
|
|
5
|
-
"commonjs": true,
|
|
6
|
-
"es2021": true,
|
|
7
|
-
"node": true
|
|
8
|
-
},
|
|
9
|
-
"extends": "eslint:recommended",
|
|
10
|
-
"parserOptions": {
|
|
11
|
-
"ecmaVersion": 5
|
|
12
|
-
},
|
|
13
|
-
"rules": {
|
|
14
|
-
"indent": [
|
|
15
|
-
"error",
|
|
16
|
-
2,
|
|
17
|
-
{
|
|
18
|
-
"MemberExpression": 0,
|
|
19
|
-
"ObjectExpression": "first"
|
|
20
|
-
}
|
|
21
|
-
],
|
|
22
|
-
"linebreak-style": [
|
|
23
|
-
"error",
|
|
24
|
-
"unix"
|
|
25
|
-
],
|
|
26
|
-
"quotes": [
|
|
27
|
-
"error",
|
|
28
|
-
"single"
|
|
29
|
-
],
|
|
30
|
-
"semi": [
|
|
31
|
-
"error",
|
|
32
|
-
"always"
|
|
33
|
-
],
|
|
34
|
-
"brace-style": [
|
|
35
|
-
"error",
|
|
36
|
-
"stroustrup"
|
|
37
|
-
],
|
|
38
|
-
"no-undef": "off",
|
|
39
|
-
"no-redeclare": "off",
|
|
40
|
-
"no-unused-vars": "off",
|
|
41
|
-
"no-empty": "off",
|
|
42
|
-
"no-prototype-builtins": "off",
|
|
43
|
-
"no-cond-assign": "off",
|
|
44
|
-
"no-fallthrough": "off",
|
|
45
|
-
"no-constant-condition": "off",
|
|
46
|
-
"block-spacing": [
|
|
47
|
-
"error",
|
|
48
|
-
"never"
|
|
49
|
-
],
|
|
50
|
-
"array-bracket-spacing": [
|
|
51
|
-
"error",
|
|
52
|
-
"never"
|
|
53
|
-
],
|
|
54
|
-
"space-before-function-paren": [
|
|
55
|
-
"error",
|
|
56
|
-
"always"
|
|
57
|
-
],
|
|
58
|
-
"space-in-parens": [
|
|
59
|
-
"error",
|
|
60
|
-
"never"
|
|
61
|
-
],
|
|
62
|
-
"object-curly-spacing": [
|
|
63
|
-
"error",
|
|
64
|
-
"never"
|
|
65
|
-
]
|
|
66
|
-
}
|
|
67
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"root": true,
|
|
3
|
+
"env": {
|
|
4
|
+
"browser": true,
|
|
5
|
+
"commonjs": true,
|
|
6
|
+
"es2021": true,
|
|
7
|
+
"node": true
|
|
8
|
+
},
|
|
9
|
+
"extends": "eslint:recommended",
|
|
10
|
+
"parserOptions": {
|
|
11
|
+
"ecmaVersion": 5
|
|
12
|
+
},
|
|
13
|
+
"rules": {
|
|
14
|
+
"indent": [
|
|
15
|
+
"error",
|
|
16
|
+
2,
|
|
17
|
+
{
|
|
18
|
+
"MemberExpression": 0,
|
|
19
|
+
"ObjectExpression": "first"
|
|
20
|
+
}
|
|
21
|
+
],
|
|
22
|
+
"linebreak-style": [
|
|
23
|
+
"error",
|
|
24
|
+
"unix"
|
|
25
|
+
],
|
|
26
|
+
"quotes": [
|
|
27
|
+
"error",
|
|
28
|
+
"single"
|
|
29
|
+
],
|
|
30
|
+
"semi": [
|
|
31
|
+
"error",
|
|
32
|
+
"always"
|
|
33
|
+
],
|
|
34
|
+
"brace-style": [
|
|
35
|
+
"error",
|
|
36
|
+
"stroustrup"
|
|
37
|
+
],
|
|
38
|
+
"no-undef": "off",
|
|
39
|
+
"no-redeclare": "off",
|
|
40
|
+
"no-unused-vars": "off",
|
|
41
|
+
"no-empty": "off",
|
|
42
|
+
"no-prototype-builtins": "off",
|
|
43
|
+
"no-cond-assign": "off",
|
|
44
|
+
"no-fallthrough": "off",
|
|
45
|
+
"no-constant-condition": "off",
|
|
46
|
+
"block-spacing": [
|
|
47
|
+
"error",
|
|
48
|
+
"never"
|
|
49
|
+
],
|
|
50
|
+
"array-bracket-spacing": [
|
|
51
|
+
"error",
|
|
52
|
+
"never"
|
|
53
|
+
],
|
|
54
|
+
"space-before-function-paren": [
|
|
55
|
+
"error",
|
|
56
|
+
"always"
|
|
57
|
+
],
|
|
58
|
+
"space-in-parens": [
|
|
59
|
+
"error",
|
|
60
|
+
"never"
|
|
61
|
+
],
|
|
62
|
+
"object-curly-spacing": [
|
|
63
|
+
"error",
|
|
64
|
+
"never"
|
|
65
|
+
]
|
|
66
|
+
}
|
|
67
|
+
}
|