@markuplint/html-spec 3.0.0-dev.24 → 3.0.0-dev.290
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/index.d.ts +1 -1
- package/index.json +14776 -2258
- package/package.json +8 -13
- package/{src/structure.test.ts → test/structure.spec.mjs} +23 -13
- package/src/spec-common.attributes.json +0 -1650
- package/src/spec-common.contents.json +0 -392
- package/src/spec.a.json +0 -58
- package/src/spec.abbr.json +0 -25
- package/src/spec.address.json +0 -25
- package/src/spec.area.json +0 -64
- package/src/spec.article.json +0 -24
- package/src/spec.aside.json +0 -38
- package/src/spec.audio.json +0 -48
- package/src/spec.b.json +0 -24
- package/src/spec.base.json +0 -21
- package/src/spec.bdi.json +0 -24
- package/src/spec.bdo.json +0 -24
- package/src/spec.blockquote.json +0 -31
- package/src/spec.body.json +0 -100
- package/src/spec.br.json +0 -32
- package/src/spec.button.json +0 -70
- package/src/spec.canvas.json +0 -33
- package/src/spec.caption.json +0 -30
- package/src/spec.cite.json +0 -24
- package/src/spec.code.json +0 -27
- package/src/spec.col.json +0 -31
- package/src/spec.colgroup.json +0 -41
- package/src/spec.data.json +0 -29
- package/src/spec.datalist.json +0 -38
- package/src/spec.dd.json +0 -30
- package/src/spec.del.json +0 -36
- package/src/spec.details.json +0 -35
- package/src/spec.dfn.json +0 -23
- package/src/spec.dialog.json +0 -36
- package/src/spec.div.json +0 -55
- package/src/spec.dl.json +0 -56
- package/src/spec.dt.json +0 -26
- package/src/spec.em.json +0 -27
- package/src/spec.embed.json +0 -30
- package/src/spec.fieldset.json +0 -27
- package/src/spec.figcaption.json +0 -24
- package/src/spec.figure.json +0 -52
- package/src/spec.footer.json +0 -37
- package/src/spec.form.json +0 -100
- package/src/spec.h1.json +0 -26
- package/src/spec.h2.json +0 -26
- package/src/spec.h3.json +0 -26
- package/src/spec.h4.json +0 -26
- package/src/spec.h5.json +0 -26
- package/src/spec.h6.json +0 -26
- package/src/spec.head.json +0 -30
- package/src/spec.header.json +0 -37
- package/src/spec.hgroup.json +0 -45
- package/src/spec.hr.json +0 -23
- package/src/spec.html.json +0 -27
- package/src/spec.i.json +0 -24
- package/src/spec.iframe.json +0 -70
- package/src/spec.img.json +0 -109
- package/src/spec.input.json +0 -792
- package/src/spec.ins.json +0 -36
- package/src/spec.kbd.json +0 -24
- package/src/spec.label.json +0 -29
- package/src/spec.legend.json +0 -24
- package/src/spec.li.json +0 -40
- package/src/spec.link.json +0 -140
- package/src/spec.main.json +0 -27
- package/src/spec.map.json +0 -30
- package/src/spec.mark.json +0 -24
- package/src/spec.math.json +0 -20
- package/src/spec.menu.json +0 -53
- package/src/spec.meta.json +0 -59
- package/src/spec.meter.json +0 -62
- package/src/spec.nav.json +0 -26
- package/src/spec.noscript.json +0 -24
- package/src/spec.object.json +0 -40
- package/src/spec.ol.json +0 -71
- package/src/spec.optgroup.json +0 -34
- package/src/spec.option.json +0 -70
- package/src/spec.output.json +0 -29
- package/src/spec.p.json +0 -27
- package/src/spec.picture.json +0 -46
- package/src/spec.portal.json +0 -25
- package/src/spec.pre.json +0 -24
- package/src/spec.progress.json +0 -44
- package/src/spec.q.json +0 -29
- package/src/spec.rp.json +0 -23
- package/src/spec.rt.json +0 -24
- package/src/spec.ruby.json +0 -55
- package/src/spec.s.json +0 -24
- package/src/spec.samp.json +0 -24
- package/src/spec.script.json +0 -73
- package/src/spec.section.json +0 -73
- package/src/spec.select.json +0 -66
- package/src/spec.slot.json +0 -29
- package/src/spec.small.json +0 -24
- package/src/spec.source.json +0 -52
- package/src/spec.span.json +0 -24
- package/src/spec.strong.json +0 -27
- package/src/spec.style.json +0 -35
- package/src/spec.sub.json +0 -27
- package/src/spec.summary.json +0 -38
- package/src/spec.sup.json +0 -27
- package/src/spec.svg_a.json +0 -118
- package/src/spec.svg_animate.json +0 -109
- package/src/spec.svg_animateMotion.json +0 -73
- package/src/spec.svg_animateTransform.json +0 -47
- package/src/spec.svg_circle.json +0 -113
- package/src/spec.svg_clipPath.json +0 -108
- package/src/spec.svg_defs.json +0 -109
- package/src/spec.svg_desc.json +0 -21
- package/src/spec.svg_discard.json +0 -31
- package/src/spec.svg_ellipse.json +0 -116
- package/src/spec.svg_feBlend.json +0 -115
- package/src/spec.svg_feColorMatrix.json +0 -104
- package/src/spec.svg_feComponentTransfer.json +0 -97
- package/src/spec.svg_feComposite.json +0 -146
- package/src/spec.svg_feConvolveMatrix.json +0 -147
- package/src/spec.svg_feDiffuseLighting.json +0 -126
- package/src/spec.svg_feDisplacementMap.json +0 -133
- package/src/spec.svg_feDistantLight.json +0 -32
- package/src/spec.svg_feDropShadow.json +0 -109
- package/src/spec.svg_feFlood.json +0 -101
- package/src/spec.svg_feFuncA.json +0 -20
- package/src/spec.svg_feFuncB.json +0 -20
- package/src/spec.svg_feFuncG.json +0 -20
- package/src/spec.svg_feFuncR.json +0 -20
- package/src/spec.svg_feGaussianBlur.json +0 -105
- package/src/spec.svg_feImage.json +0 -123
- package/src/spec.svg_feMerge.json +0 -90
- package/src/spec.svg_feMergeNode.json +0 -20
- package/src/spec.svg_feMorphology.json +0 -106
- package/src/spec.svg_feOffset.json +0 -103
- package/src/spec.svg_fePointLight.json +0 -38
- package/src/spec.svg_feSpecularLighting.json +0 -131
- package/src/spec.svg_feSpotLight.json +0 -67
- package/src/spec.svg_feTile.json +0 -90
- package/src/spec.svg_feTurbulence.json +0 -127
- package/src/spec.svg_filter.json +0 -138
- package/src/spec.svg_foreignObject.json +0 -97
- package/src/spec.svg_g.json +0 -115
- package/src/spec.svg_image.json +0 -128
- package/src/spec.svg_line.json +0 -136
- package/src/spec.svg_linearGradient.json +0 -152
- package/src/spec.svg_marker.json +0 -180
- package/src/spec.svg_mask.json +0 -142
- package/src/spec.svg_metadata.json +0 -21
- package/src/spec.svg_mpath.json +0 -26
- package/src/spec.svg_path.json +0 -114
- package/src/spec.svg_pattern.json +0 -157
- package/src/spec.svg_polygon.json +0 -117
- package/src/spec.svg_polyline.json +0 -117
- package/src/spec.svg_radialGradient.json +0 -162
- package/src/spec.svg_rect.json +0 -118
- package/src/spec.svg_script.json +0 -40
- package/src/spec.svg_set.json +0 -42
- package/src/spec.svg_stop.json +0 -110
- package/src/spec.svg_style.json +0 -36
- package/src/spec.svg_svg.json +0 -170
- package/src/spec.svg_switch.json +0 -105
- package/src/spec.svg_symbol.json +0 -77
- package/src/spec.svg_text.json +0 -153
- package/src/spec.svg_textPath.json +0 -169
- package/src/spec.svg_title.json +0 -21
- package/src/spec.svg_tspan.json +0 -147
- package/src/spec.svg_use.json +0 -115
- package/src/spec.svg_view.json +0 -45
- package/src/spec.table.json +0 -64
- package/src/spec.tbody.json +0 -23
- package/src/spec.td.json +0 -37
- package/src/spec.template.json +0 -20
- package/src/spec.textarea.json +0 -67
- package/src/spec.tfoot.json +0 -23
- package/src/spec.th.json +0 -66
- package/src/spec.thead.json +0 -23
- package/src/spec.time.json +0 -32
- package/src/spec.title.json +0 -24
- package/src/spec.tr.json +0 -29
- package/src/spec.track.json +0 -54
- package/src/spec.u.json +0 -24
- package/src/spec.ul.json +0 -53
- package/src/spec.var.json +0 -24
- package/src/spec.video.json +0 -78
- package/src/spec.wbr.json +0 -25
package/src/spec.ins.json
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
// https://html.spec.whatwg.org/multipage/edits.html#the-ins-element
|
|
2
|
-
// https://www.w3.org/TR/html-aria/#el-ins
|
|
3
|
-
// https://w3c.github.io/html-aria/#el-ins
|
|
4
|
-
{
|
|
5
|
-
"contentModel": {
|
|
6
|
-
"contents": [
|
|
7
|
-
{
|
|
8
|
-
"transparent": "*"
|
|
9
|
-
}
|
|
10
|
-
]
|
|
11
|
-
},
|
|
12
|
-
"globalAttrs": {
|
|
13
|
-
"#HTMLGlobalAttrs": true,
|
|
14
|
-
"#GlobalEventAttrs": true,
|
|
15
|
-
"#DocumentElementEventAttrs": true,
|
|
16
|
-
"#ARIAAttrs": true
|
|
17
|
-
},
|
|
18
|
-
"attributes": {
|
|
19
|
-
"cite": {
|
|
20
|
-
// https://html.spec.whatwg.org/multipage/edits.html#attr-mod-cite
|
|
21
|
-
"type": "URL"
|
|
22
|
-
},
|
|
23
|
-
"datetime": {
|
|
24
|
-
// https://html.spec.whatwg.org/multipage/edits.html#attr-mod-datetime
|
|
25
|
-
"type": "DateTime"
|
|
26
|
-
}
|
|
27
|
-
},
|
|
28
|
-
"aria": {
|
|
29
|
-
"implicitRole": "insertion",
|
|
30
|
-
"permittedRoles": true,
|
|
31
|
-
"namingProhibited": true,
|
|
32
|
-
"1.1": {
|
|
33
|
-
"implicitRole": false
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
}
|
package/src/spec.kbd.json
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
// https://html.spec.whatwg.org/multipage/text-level-semantics.html#the-kbd-element
|
|
2
|
-
// https://www.w3.org/TR/html-aria/#el-kbd
|
|
3
|
-
// https://w3c.github.io/html-aria/#el-kbd
|
|
4
|
-
{
|
|
5
|
-
"contentModel": {
|
|
6
|
-
"contents": [
|
|
7
|
-
{
|
|
8
|
-
"oneOrMore": ":model(phrasing)"
|
|
9
|
-
}
|
|
10
|
-
]
|
|
11
|
-
},
|
|
12
|
-
"globalAttrs": {
|
|
13
|
-
"#HTMLGlobalAttrs": true,
|
|
14
|
-
"#GlobalEventAttrs": true,
|
|
15
|
-
"#DocumentElementEventAttrs": true,
|
|
16
|
-
"#ARIAAttrs": true
|
|
17
|
-
},
|
|
18
|
-
"attributes": {},
|
|
19
|
-
"aria": {
|
|
20
|
-
"implicitRole": false,
|
|
21
|
-
"permittedRoles": true,
|
|
22
|
-
"namingProhibited": true
|
|
23
|
-
}
|
|
24
|
-
}
|
package/src/spec.label.json
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
// https://html.spec.whatwg.org/multipage/forms.html#the-label-element
|
|
2
|
-
// https://www.w3.org/TR/html-aria/#el-label
|
|
3
|
-
// https://w3c.github.io/html-aria/#el-label
|
|
4
|
-
{
|
|
5
|
-
"contentModel": {
|
|
6
|
-
"contents": [
|
|
7
|
-
{
|
|
8
|
-
"oneOrMore": ":model(phrasing):not(label, :has(label))"
|
|
9
|
-
}
|
|
10
|
-
]
|
|
11
|
-
},
|
|
12
|
-
"globalAttrs": {
|
|
13
|
-
"#HTMLGlobalAttrs": true,
|
|
14
|
-
"#GlobalEventAttrs": true,
|
|
15
|
-
"#DocumentElementEventAttrs": true,
|
|
16
|
-
"#ARIAAttrs": true
|
|
17
|
-
},
|
|
18
|
-
"attributes": {
|
|
19
|
-
// https://html.spec.whatwg.org/multipage/forms.html#attr-label-for
|
|
20
|
-
"for": {
|
|
21
|
-
"type": "DOMID"
|
|
22
|
-
}
|
|
23
|
-
},
|
|
24
|
-
"aria": {
|
|
25
|
-
"implicitRole": false,
|
|
26
|
-
"permittedRoles": false,
|
|
27
|
-
"namingProhibited": true
|
|
28
|
-
}
|
|
29
|
-
}
|
package/src/spec.legend.json
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
// https://html.spec.whatwg.org/multipage/form-elements.html#the-legend-element
|
|
2
|
-
// https://www.w3.org/TR/html-aria/#el-legend
|
|
3
|
-
// https://w3c.github.io/html-aria/#el-legend
|
|
4
|
-
{
|
|
5
|
-
"contentModel": {
|
|
6
|
-
"contents": [
|
|
7
|
-
{
|
|
8
|
-
"zeroOrMore": [":model(phrasing)", ":model(heading)"]
|
|
9
|
-
}
|
|
10
|
-
]
|
|
11
|
-
},
|
|
12
|
-
"globalAttrs": {
|
|
13
|
-
"#HTMLGlobalAttrs": true,
|
|
14
|
-
"#GlobalEventAttrs": true,
|
|
15
|
-
"#DocumentElementEventAttrs": true,
|
|
16
|
-
"#ARIAAttrs": true
|
|
17
|
-
},
|
|
18
|
-
"attributes": {},
|
|
19
|
-
"aria": {
|
|
20
|
-
"implicitRole": false,
|
|
21
|
-
"permittedRoles": false,
|
|
22
|
-
"namingProhibited": true
|
|
23
|
-
}
|
|
24
|
-
}
|
package/src/spec.li.json
DELETED
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
// https://html.spec.whatwg.org/multipage/grouping-content.html#the-li-element
|
|
2
|
-
// https://www.w3.org/TR/html-aria/#el-li
|
|
3
|
-
// https://w3c.github.io/html-aria/#el-li
|
|
4
|
-
{
|
|
5
|
-
"contentModel": {
|
|
6
|
-
"contents": [
|
|
7
|
-
{
|
|
8
|
-
"oneOrMore": ":model(flow)"
|
|
9
|
-
}
|
|
10
|
-
]
|
|
11
|
-
},
|
|
12
|
-
"globalAttrs": {
|
|
13
|
-
"#HTMLGlobalAttrs": true,
|
|
14
|
-
"#GlobalEventAttrs": true,
|
|
15
|
-
"#DocumentElementEventAttrs": true,
|
|
16
|
-
"#ARIAAttrs": true
|
|
17
|
-
},
|
|
18
|
-
"attributes": {
|
|
19
|
-
// https://html.spec.whatwg.org/multipage/grouping-content.html#attr-li-value
|
|
20
|
-
"value": {
|
|
21
|
-
"type": "Int",
|
|
22
|
-
"condition": "ol > li"
|
|
23
|
-
}
|
|
24
|
-
},
|
|
25
|
-
"aria": {
|
|
26
|
-
"implicitRole": "listitem",
|
|
27
|
-
"permittedRoles": [
|
|
28
|
-
"menuitem",
|
|
29
|
-
"menuitemcheckbox",
|
|
30
|
-
"menuitemradio",
|
|
31
|
-
"option",
|
|
32
|
-
"none",
|
|
33
|
-
"presentation",
|
|
34
|
-
"radio",
|
|
35
|
-
"separator",
|
|
36
|
-
"tab",
|
|
37
|
-
"treeitem"
|
|
38
|
-
]
|
|
39
|
-
}
|
|
40
|
-
}
|
package/src/spec.link.json
DELETED
|
@@ -1,140 +0,0 @@
|
|
|
1
|
-
// https://html.spec.whatwg.org/multipage/semantics.html#the-link-element
|
|
2
|
-
// https://www.w3.org/TR/html-aria/#el-link
|
|
3
|
-
// https://w3c.github.io/html-aria/#el-link
|
|
4
|
-
{
|
|
5
|
-
"contentModel": {
|
|
6
|
-
"contents": false
|
|
7
|
-
},
|
|
8
|
-
"globalAttrs": {
|
|
9
|
-
"#HTMLGlobalAttrs": true,
|
|
10
|
-
"#GlobalEventAttrs": true,
|
|
11
|
-
"#DocumentElementEventAttrs": true,
|
|
12
|
-
"#ARIAAttrs": true,
|
|
13
|
-
"#HTMLLinkAndFetchingAttrs": [
|
|
14
|
-
"crossorigin",
|
|
15
|
-
"href",
|
|
16
|
-
"hreflang",
|
|
17
|
-
"type",
|
|
18
|
-
"referrerpolicy",
|
|
19
|
-
"integrity",
|
|
20
|
-
"media",
|
|
21
|
-
"fetchpriority"
|
|
22
|
-
]
|
|
23
|
-
},
|
|
24
|
-
"attributes": {
|
|
25
|
-
// https://html.spec.whatwg.org/multipage/semantics.html#attr-link-rel
|
|
26
|
-
"rel": {
|
|
27
|
-
"type": [
|
|
28
|
-
"Any",
|
|
29
|
-
{
|
|
30
|
-
"token": {
|
|
31
|
-
"enum": [
|
|
32
|
-
"alternate",
|
|
33
|
-
"canonical",
|
|
34
|
-
"author",
|
|
35
|
-
"dns-prefetch",
|
|
36
|
-
"help",
|
|
37
|
-
"icon",
|
|
38
|
-
"manifest",
|
|
39
|
-
"modulepreload",
|
|
40
|
-
"license",
|
|
41
|
-
"next",
|
|
42
|
-
"pingback",
|
|
43
|
-
"preconnect",
|
|
44
|
-
"prefetch",
|
|
45
|
-
"preload",
|
|
46
|
-
"prerender",
|
|
47
|
-
"prev",
|
|
48
|
-
"search",
|
|
49
|
-
"stylesheet"
|
|
50
|
-
]
|
|
51
|
-
},
|
|
52
|
-
"unique": true,
|
|
53
|
-
"separator": "space"
|
|
54
|
-
}
|
|
55
|
-
],
|
|
56
|
-
"requiredEither": ["itemprop"]
|
|
57
|
-
},
|
|
58
|
-
// https://html.spec.whatwg.org/multipage/semantics.html#the-link-element:names:-the-itemprop-attribute
|
|
59
|
-
"itemprop": {
|
|
60
|
-
"requiredEither": ["rel"]
|
|
61
|
-
},
|
|
62
|
-
// https://html.spec.whatwg.org/multipage/semantics.html#attr-link-integrity
|
|
63
|
-
"integrity": {
|
|
64
|
-
"condition": ["[rel~='stylesheet' i]", "[rel~='preload' i]", "[rel~='modulepreload' i]"]
|
|
65
|
-
},
|
|
66
|
-
// https://html.spec.whatwg.org/multipage/semantics.html#attr-link-sizes
|
|
67
|
-
"sizes": {
|
|
68
|
-
"type": {
|
|
69
|
-
"token": "IconSize",
|
|
70
|
-
"caseInsensitive": true,
|
|
71
|
-
"ordered": false,
|
|
72
|
-
"unique": true,
|
|
73
|
-
"separator": "space"
|
|
74
|
-
},
|
|
75
|
-
"condition": ["[rel~='icon' i]", "[rel~='apple-touch-icon' i]"]
|
|
76
|
-
},
|
|
77
|
-
// https://html.spec.whatwg.org/multipage/semantics.html#attr-link-imagesrcset
|
|
78
|
-
"imagesrcset": {
|
|
79
|
-
"type": "Srcset",
|
|
80
|
-
"condition": "[imagesizes][rel~='preload' i][as='image' i]",
|
|
81
|
-
"required": "[imagesizes]"
|
|
82
|
-
},
|
|
83
|
-
// https://html.spec.whatwg.org/multipage/semantics.html#attr-link-imagesizes
|
|
84
|
-
"imagesizes": {
|
|
85
|
-
"type": "SourceSizeList",
|
|
86
|
-
"condition": "[imagesrcset][rel~='preload' i][as='image' i]",
|
|
87
|
-
"required": "[imagesrcset]"
|
|
88
|
-
},
|
|
89
|
-
// https://html.spec.whatwg.org/multipage/semantics.html#attr-link-as
|
|
90
|
-
"as": {
|
|
91
|
-
"type": {
|
|
92
|
-
"enum": [
|
|
93
|
-
"fetch",
|
|
94
|
-
"audio",
|
|
95
|
-
"audioworklet",
|
|
96
|
-
"document",
|
|
97
|
-
"embed",
|
|
98
|
-
"font",
|
|
99
|
-
"frame",
|
|
100
|
-
"iframe",
|
|
101
|
-
"image",
|
|
102
|
-
"manifest",
|
|
103
|
-
"object",
|
|
104
|
-
"paintworklet",
|
|
105
|
-
"report",
|
|
106
|
-
"script",
|
|
107
|
-
"serviceworker",
|
|
108
|
-
"sharedworker",
|
|
109
|
-
"style",
|
|
110
|
-
"track",
|
|
111
|
-
"video",
|
|
112
|
-
"worker",
|
|
113
|
-
"xslt"
|
|
114
|
-
]
|
|
115
|
-
},
|
|
116
|
-
// If the rel attribute is modulepreload, invalidValueDefault and missingValueDefault will be `script`
|
|
117
|
-
"condition": ["[rel='preload' i]", "[rel='modulepreload' i]"]
|
|
118
|
-
},
|
|
119
|
-
// https://html.spec.whatwg.org/multipage/urls-and-fetching.html#render-blocking
|
|
120
|
-
"blocking": {
|
|
121
|
-
"type": {
|
|
122
|
-
"enum": ["render"]
|
|
123
|
-
}
|
|
124
|
-
},
|
|
125
|
-
// https://html.spec.whatwg.org/multipage/semantics.html#attr-link-color
|
|
126
|
-
"color": {
|
|
127
|
-
"type": "<color>",
|
|
128
|
-
"condition": "[rel~='mask-icon' i]"
|
|
129
|
-
},
|
|
130
|
-
// https://html.spec.whatwg.org/multipage/semantics.html#attr-link-disabled
|
|
131
|
-
"disabled": {
|
|
132
|
-
"type": "Boolean"
|
|
133
|
-
}
|
|
134
|
-
},
|
|
135
|
-
"aria": {
|
|
136
|
-
"implicitRole": false,
|
|
137
|
-
"permittedRoles": false,
|
|
138
|
-
"properties": false
|
|
139
|
-
}
|
|
140
|
-
}
|
package/src/spec.main.json
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
// https://html.spec.whatwg.org/multipage/grouping-content.html#the-main-element
|
|
2
|
-
// https://www.w3.org/TR/html-aria/#el-main
|
|
3
|
-
// https://w3c.github.io/html-aria/#el-main
|
|
4
|
-
{
|
|
5
|
-
"contentModel": {
|
|
6
|
-
"contents": [
|
|
7
|
-
{
|
|
8
|
-
"oneOrMore": ":model(flow)"
|
|
9
|
-
}
|
|
10
|
-
]
|
|
11
|
-
},
|
|
12
|
-
"globalAttrs": {
|
|
13
|
-
"#HTMLGlobalAttrs": true,
|
|
14
|
-
"#GlobalEventAttrs": true,
|
|
15
|
-
"#DocumentElementEventAttrs": true,
|
|
16
|
-
"#ARIAAttrs": true
|
|
17
|
-
},
|
|
18
|
-
"attributes": {},
|
|
19
|
-
"aria": {
|
|
20
|
-
"implicitRole": "main",
|
|
21
|
-
"permittedRoles": false,
|
|
22
|
-
"properties": {
|
|
23
|
-
"global": true,
|
|
24
|
-
"role": "main"
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
}
|
package/src/spec.map.json
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
// https://html.spec.whatwg.org/multipage/image-maps.html#attr-map-name
|
|
2
|
-
// https://www.w3.org/TR/html-aria/#el-map
|
|
3
|
-
// https://w3c.github.io/html-aria/#el-map
|
|
4
|
-
{
|
|
5
|
-
"contentModel": {
|
|
6
|
-
"contents": [
|
|
7
|
-
{
|
|
8
|
-
"transparent": "*"
|
|
9
|
-
}
|
|
10
|
-
]
|
|
11
|
-
},
|
|
12
|
-
"globalAttrs": {
|
|
13
|
-
"#HTMLGlobalAttrs": true,
|
|
14
|
-
"#GlobalEventAttrs": true,
|
|
15
|
-
"#DocumentElementEventAttrs": true,
|
|
16
|
-
"#ARIAAttrs": true
|
|
17
|
-
},
|
|
18
|
-
"attributes": {
|
|
19
|
-
// https://html.spec.whatwg.org/multipage/image-maps.html#attr-map-name
|
|
20
|
-
"name": {
|
|
21
|
-
// TODO: "The value must not include whitespace"
|
|
22
|
-
"type": "NoEmptyAny"
|
|
23
|
-
}
|
|
24
|
-
},
|
|
25
|
-
"aria": {
|
|
26
|
-
"implicitRole": false,
|
|
27
|
-
"permittedRoles": false,
|
|
28
|
-
"properties": false
|
|
29
|
-
}
|
|
30
|
-
}
|
package/src/spec.mark.json
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
// https://html.spec.whatwg.org/multipage/text-level-semantics.html#the-mark-element
|
|
2
|
-
// https://www.w3.org/TR/html-aria/#el-mark
|
|
3
|
-
// https://w3c.github.io/html-aria/#el-mark
|
|
4
|
-
{
|
|
5
|
-
"contentModel": {
|
|
6
|
-
"contents": [
|
|
7
|
-
{
|
|
8
|
-
"oneOrMore": ":model(phrasing)"
|
|
9
|
-
}
|
|
10
|
-
]
|
|
11
|
-
},
|
|
12
|
-
"globalAttrs": {
|
|
13
|
-
"#HTMLGlobalAttrs": true,
|
|
14
|
-
"#GlobalEventAttrs": true,
|
|
15
|
-
"#DocumentElementEventAttrs": true,
|
|
16
|
-
"#ARIAAttrs": true
|
|
17
|
-
},
|
|
18
|
-
"attributes": {},
|
|
19
|
-
"aria": {
|
|
20
|
-
"implicitRole": false,
|
|
21
|
-
"permittedRoles": true,
|
|
22
|
-
"namingProhibited": true
|
|
23
|
-
}
|
|
24
|
-
}
|
package/src/spec.math.json
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
// https://momdo.github.io/html/embedded-content-other.html#mathml
|
|
2
|
-
// https://www.w3.org/TR/html-aria/#el-math
|
|
3
|
-
// https://w3c.github.io/html-aria/#el-math
|
|
4
|
-
{
|
|
5
|
-
"contentModel": {
|
|
6
|
-
"contents": true
|
|
7
|
-
},
|
|
8
|
-
"globalAttrs": {
|
|
9
|
-
"#ARIAAttrs": true
|
|
10
|
-
},
|
|
11
|
-
"attributes": {},
|
|
12
|
-
"aria": {
|
|
13
|
-
"implicitRole": "math",
|
|
14
|
-
"permittedRoles": false,
|
|
15
|
-
"properties": {
|
|
16
|
-
"global": true,
|
|
17
|
-
"role": "math"
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
}
|
package/src/spec.menu.json
DELETED
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
// https://html.spec.whatwg.org/multipage/grouping-content.html#the-menu-element
|
|
2
|
-
// https://www.w3.org/TR/html-aria/#el-menu
|
|
3
|
-
// https://w3c.github.io/html-aria/#el-menu
|
|
4
|
-
{
|
|
5
|
-
"contentModel": {
|
|
6
|
-
"contents": [
|
|
7
|
-
{
|
|
8
|
-
"zeroOrMore": ["li", ":model(script-supporting)"]
|
|
9
|
-
}
|
|
10
|
-
]
|
|
11
|
-
},
|
|
12
|
-
"globalAttrs": {
|
|
13
|
-
"#HTMLGlobalAttrs": true,
|
|
14
|
-
"#GlobalEventAttrs": true,
|
|
15
|
-
"#DocumentElementEventAttrs": true,
|
|
16
|
-
"#ARIAAttrs": true
|
|
17
|
-
},
|
|
18
|
-
"attributes": {},
|
|
19
|
-
"aria": {
|
|
20
|
-
"implicitRole": "list",
|
|
21
|
-
"permittedRoles": [
|
|
22
|
-
"group",
|
|
23
|
-
"listbox",
|
|
24
|
-
"menu",
|
|
25
|
-
"menubar",
|
|
26
|
-
"none",
|
|
27
|
-
"presentation",
|
|
28
|
-
"radiogroup",
|
|
29
|
-
"tablist",
|
|
30
|
-
"toolbar",
|
|
31
|
-
"tree",
|
|
32
|
-
{
|
|
33
|
-
"name": "directory",
|
|
34
|
-
"deprecated": true
|
|
35
|
-
}
|
|
36
|
-
],
|
|
37
|
-
"1.1": {
|
|
38
|
-
"permittedRoles": [
|
|
39
|
-
"directory",
|
|
40
|
-
"group",
|
|
41
|
-
"listbox",
|
|
42
|
-
"menu",
|
|
43
|
-
"menubar",
|
|
44
|
-
"none",
|
|
45
|
-
"presentation",
|
|
46
|
-
"radiogroup",
|
|
47
|
-
"tablist",
|
|
48
|
-
"toolbar",
|
|
49
|
-
"tree"
|
|
50
|
-
]
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
}
|
package/src/spec.meta.json
DELETED
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
// https://html.spec.whatwg.org/multipage/semantics.html#the-meta-element
|
|
2
|
-
// https://www.w3.org/TR/html-aria/#el-meta
|
|
3
|
-
// https://w3c.github.io/html-aria/#el-meta
|
|
4
|
-
{
|
|
5
|
-
"contentModel": {
|
|
6
|
-
"contents": false
|
|
7
|
-
},
|
|
8
|
-
"globalAttrs": {
|
|
9
|
-
"#HTMLGlobalAttrs": true,
|
|
10
|
-
"#GlobalEventAttrs": true,
|
|
11
|
-
"#DocumentElementEventAttrs": true,
|
|
12
|
-
"#ARIAAttrs": true,
|
|
13
|
-
"#HTMLLinkAndFetchingAttrs": ["media"]
|
|
14
|
-
},
|
|
15
|
-
"attributes": {
|
|
16
|
-
// https://html.spec.whatwg.org/multipage/semantics.html#the-meta-element:names:-the-itemprop-attribute-5
|
|
17
|
-
"itemprop": {
|
|
18
|
-
"requiredEither": ["name", "http-equiv", "charset"],
|
|
19
|
-
"condition": [":not([name])", ":not([http-equiv])", ":not([charset])"]
|
|
20
|
-
},
|
|
21
|
-
// https://html.spec.whatwg.org/multipage/semantics.html#attr-meta-name
|
|
22
|
-
"name": {
|
|
23
|
-
"type": "Any",
|
|
24
|
-
"requiredEither": ["itemprop", "http-equiv", "charset"],
|
|
25
|
-
"condition": [":not([itemprop])", ":not([http-equiv])", ":not([charset])"]
|
|
26
|
-
},
|
|
27
|
-
// https://html.spec.whatwg.org/multipage/semantics.html#attr-meta-http-equiv
|
|
28
|
-
"http-equiv": {
|
|
29
|
-
"type": {
|
|
30
|
-
"enum": ["content-type", "default-style", "refresh", "x-ua-compatible", "content-security-policy"]
|
|
31
|
-
},
|
|
32
|
-
"requiredEither": ["itemprop", "name", "charset"],
|
|
33
|
-
"condition": [":not([itemprop])", ":not([name])", ":not([charset])"]
|
|
34
|
-
},
|
|
35
|
-
// https://html.spec.whatwg.org/multipage/semantics.html#attr-meta-content
|
|
36
|
-
"content": {
|
|
37
|
-
"type": "Any",
|
|
38
|
-
"required": ["[name]", "[http-equiv]", "[itemprop]"],
|
|
39
|
-
"condition": ["[name]", "[http-equiv]", "[itemprop]"]
|
|
40
|
-
},
|
|
41
|
-
// https://html.spec.whatwg.org/multipage/semantics.html#attr-meta-charset
|
|
42
|
-
"charset": {
|
|
43
|
-
"type": {
|
|
44
|
-
"enum": ["utf-8"],
|
|
45
|
-
"caseInsensitive": true
|
|
46
|
-
},
|
|
47
|
-
"condition": [":not([itemprop])", ":not([name])", ":not([http-equiv])"]
|
|
48
|
-
},
|
|
49
|
-
// https://html.spec.whatwg.org/multipage/semantics.html#attr-meta-media
|
|
50
|
-
"media": {
|
|
51
|
-
"condition": "[name='theme-color']"
|
|
52
|
-
}
|
|
53
|
-
},
|
|
54
|
-
"aria": {
|
|
55
|
-
"implicitRole": false,
|
|
56
|
-
"permittedRoles": false,
|
|
57
|
-
"properties": false
|
|
58
|
-
}
|
|
59
|
-
}
|
package/src/spec.meter.json
DELETED
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
// https://html.spec.whatwg.org/multipage/form-elements.html#the-meter-element
|
|
2
|
-
// https://www.w3.org/TR/html-aria/#el-meter
|
|
3
|
-
// https://w3c.github.io/html-aria/#el-meter
|
|
4
|
-
{
|
|
5
|
-
"contentModel": {
|
|
6
|
-
"contents": [
|
|
7
|
-
{
|
|
8
|
-
"oneOrMore": ":model(phrasing):not(meter, :has(meter))"
|
|
9
|
-
}
|
|
10
|
-
]
|
|
11
|
-
},
|
|
12
|
-
"globalAttrs": {
|
|
13
|
-
"#HTMLGlobalAttrs": true,
|
|
14
|
-
"#GlobalEventAttrs": true,
|
|
15
|
-
"#DocumentElementEventAttrs": true,
|
|
16
|
-
"#ARIAAttrs": true
|
|
17
|
-
},
|
|
18
|
-
"attributes": {
|
|
19
|
-
// https://html.spec.whatwg.org/multipage/form-elements.html#attr-meter-value
|
|
20
|
-
"value": {
|
|
21
|
-
"type": "Number"
|
|
22
|
-
},
|
|
23
|
-
// https://html.spec.whatwg.org/multipage/form-elements.html#attr-meter-min
|
|
24
|
-
"min": {
|
|
25
|
-
"type": "Number"
|
|
26
|
-
},
|
|
27
|
-
// https://html.spec.whatwg.org/multipage/form-elements.html#attr-meter-max
|
|
28
|
-
"max": {
|
|
29
|
-
"type": "Number"
|
|
30
|
-
},
|
|
31
|
-
// https://html.spec.whatwg.org/multipage/form-elements.html#attr-meter-low
|
|
32
|
-
"low": {
|
|
33
|
-
"type": "Number"
|
|
34
|
-
},
|
|
35
|
-
// https://html.spec.whatwg.org/multipage/form-elements.html#attr-meter-high
|
|
36
|
-
"high": {
|
|
37
|
-
"type": "Number"
|
|
38
|
-
},
|
|
39
|
-
// https://html.spec.whatwg.org/multipage/form-elements.html#attr-meter-optimum
|
|
40
|
-
"optimum": {
|
|
41
|
-
"type": "Number"
|
|
42
|
-
}
|
|
43
|
-
},
|
|
44
|
-
"aria": {
|
|
45
|
-
"implicitRole": false,
|
|
46
|
-
"permittedRoles": false,
|
|
47
|
-
"properties": {
|
|
48
|
-
"global": true,
|
|
49
|
-
// Authors SHOULD NOT use the aria-valuemax or aria-valuemin attributes on meter elements.
|
|
50
|
-
"without": [
|
|
51
|
-
{
|
|
52
|
-
"type": "should-not",
|
|
53
|
-
"name": "aria-valuemax"
|
|
54
|
-
},
|
|
55
|
-
{
|
|
56
|
-
"type": "should-not",
|
|
57
|
-
"name": "aria-valuemin"
|
|
58
|
-
}
|
|
59
|
-
]
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
}
|
package/src/spec.nav.json
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
// https://html.spec.whatwg.org/multipage/sections.html#the-nav-element
|
|
2
|
-
// https://www.w3.org/TR/html-aria/#el-nav
|
|
3
|
-
// https://w3c.github.io/html-aria/#el-nav
|
|
4
|
-
{
|
|
5
|
-
"contentModel": {
|
|
6
|
-
"contents": [
|
|
7
|
-
{
|
|
8
|
-
"oneOrMore": ":model(flow)"
|
|
9
|
-
}
|
|
10
|
-
]
|
|
11
|
-
},
|
|
12
|
-
"globalAttrs": {
|
|
13
|
-
"#HTMLGlobalAttrs": true,
|
|
14
|
-
"#GlobalEventAttrs": true,
|
|
15
|
-
"#DocumentElementEventAttrs": true,
|
|
16
|
-
"#ARIAAttrs": true
|
|
17
|
-
},
|
|
18
|
-
"attributes": {},
|
|
19
|
-
"aria": {
|
|
20
|
-
"implicitRole": "navigation",
|
|
21
|
-
"permittedRoles": ["menu", "menubar", "none", "presentation", "tablist"],
|
|
22
|
-
"1.1": {
|
|
23
|
-
"permittedRoles": ["menu", "menubar", "tablist"]
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
}
|
package/src/spec.noscript.json
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
// https://html.spec.whatwg.org/multipage/scripting.html#the-noscript-element
|
|
2
|
-
// https://www.w3.org/TR/html-aria/#el-noscript
|
|
3
|
-
// https://w3c.github.io/html-aria/#el-noscript
|
|
4
|
-
{
|
|
5
|
-
"contentModel": {
|
|
6
|
-
"contents": [
|
|
7
|
-
{
|
|
8
|
-
"transparent": ":not(noscript)"
|
|
9
|
-
}
|
|
10
|
-
]
|
|
11
|
-
},
|
|
12
|
-
"globalAttrs": {
|
|
13
|
-
"#HTMLGlobalAttrs": true,
|
|
14
|
-
"#GlobalEventAttrs": true,
|
|
15
|
-
"#DocumentElementEventAttrs": true,
|
|
16
|
-
"#ARIAAttrs": true
|
|
17
|
-
},
|
|
18
|
-
"attributes": {},
|
|
19
|
-
"aria": {
|
|
20
|
-
"implicitRole": false,
|
|
21
|
-
"permittedRoles": false,
|
|
22
|
-
"properties": false
|
|
23
|
-
}
|
|
24
|
-
}
|
package/src/spec.object.json
DELETED
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
// https://html.spec.whatwg.org/multipage/iframe-embed-object.html#the-object-element
|
|
2
|
-
// https://www.w3.org/TR/html-aria/#el-object
|
|
3
|
-
// https://w3c.github.io/html-aria/#el-object
|
|
4
|
-
{
|
|
5
|
-
"contentModel": {
|
|
6
|
-
"contents": [
|
|
7
|
-
{
|
|
8
|
-
"oneOrMore": ":model(flow)"
|
|
9
|
-
}
|
|
10
|
-
]
|
|
11
|
-
},
|
|
12
|
-
"globalAttrs": {
|
|
13
|
-
"#HTMLGlobalAttrs": true,
|
|
14
|
-
"#GlobalEventAttrs": true,
|
|
15
|
-
"#DocumentElementEventAttrs": true,
|
|
16
|
-
"#ARIAAttrs": true,
|
|
17
|
-
"#HTMLEmbededAndMediaContentAttrs": ["height", "width"],
|
|
18
|
-
"#HTMLFormControlElementAttrs": ["form"]
|
|
19
|
-
},
|
|
20
|
-
"attributes": {
|
|
21
|
-
// https://html.spec.whatwg.org/multipage/iframe-embed-object.html#attr-object-data
|
|
22
|
-
"data": {
|
|
23
|
-
"type": "URL",
|
|
24
|
-
"requiredEither": ["type"]
|
|
25
|
-
},
|
|
26
|
-
// https://html.spec.whatwg.org/multipage/iframe-embed-object.html#attr-object-type
|
|
27
|
-
"type": {
|
|
28
|
-
"type": "MIMEType",
|
|
29
|
-
"requiredEither": ["data"]
|
|
30
|
-
},
|
|
31
|
-
// https://html.spec.whatwg.org/multipage/iframe-embed-object.html#attr-object-name
|
|
32
|
-
"name": {
|
|
33
|
-
"type": "BrowsingContextName"
|
|
34
|
-
}
|
|
35
|
-
},
|
|
36
|
-
"aria": {
|
|
37
|
-
"implicitRole": false,
|
|
38
|
-
"permittedRoles": ["application", "document", "img"]
|
|
39
|
-
}
|
|
40
|
-
}
|