@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.
Files changed (183) hide show
  1. package/index.d.ts +1 -1
  2. package/index.json +14776 -2258
  3. package/package.json +8 -13
  4. package/{src/structure.test.ts → test/structure.spec.mjs} +23 -13
  5. package/src/spec-common.attributes.json +0 -1650
  6. package/src/spec-common.contents.json +0 -392
  7. package/src/spec.a.json +0 -58
  8. package/src/spec.abbr.json +0 -25
  9. package/src/spec.address.json +0 -25
  10. package/src/spec.area.json +0 -64
  11. package/src/spec.article.json +0 -24
  12. package/src/spec.aside.json +0 -38
  13. package/src/spec.audio.json +0 -48
  14. package/src/spec.b.json +0 -24
  15. package/src/spec.base.json +0 -21
  16. package/src/spec.bdi.json +0 -24
  17. package/src/spec.bdo.json +0 -24
  18. package/src/spec.blockquote.json +0 -31
  19. package/src/spec.body.json +0 -100
  20. package/src/spec.br.json +0 -32
  21. package/src/spec.button.json +0 -70
  22. package/src/spec.canvas.json +0 -33
  23. package/src/spec.caption.json +0 -30
  24. package/src/spec.cite.json +0 -24
  25. package/src/spec.code.json +0 -27
  26. package/src/spec.col.json +0 -31
  27. package/src/spec.colgroup.json +0 -41
  28. package/src/spec.data.json +0 -29
  29. package/src/spec.datalist.json +0 -38
  30. package/src/spec.dd.json +0 -30
  31. package/src/spec.del.json +0 -36
  32. package/src/spec.details.json +0 -35
  33. package/src/spec.dfn.json +0 -23
  34. package/src/spec.dialog.json +0 -36
  35. package/src/spec.div.json +0 -55
  36. package/src/spec.dl.json +0 -56
  37. package/src/spec.dt.json +0 -26
  38. package/src/spec.em.json +0 -27
  39. package/src/spec.embed.json +0 -30
  40. package/src/spec.fieldset.json +0 -27
  41. package/src/spec.figcaption.json +0 -24
  42. package/src/spec.figure.json +0 -52
  43. package/src/spec.footer.json +0 -37
  44. package/src/spec.form.json +0 -100
  45. package/src/spec.h1.json +0 -26
  46. package/src/spec.h2.json +0 -26
  47. package/src/spec.h3.json +0 -26
  48. package/src/spec.h4.json +0 -26
  49. package/src/spec.h5.json +0 -26
  50. package/src/spec.h6.json +0 -26
  51. package/src/spec.head.json +0 -30
  52. package/src/spec.header.json +0 -37
  53. package/src/spec.hgroup.json +0 -45
  54. package/src/spec.hr.json +0 -23
  55. package/src/spec.html.json +0 -27
  56. package/src/spec.i.json +0 -24
  57. package/src/spec.iframe.json +0 -70
  58. package/src/spec.img.json +0 -109
  59. package/src/spec.input.json +0 -792
  60. package/src/spec.ins.json +0 -36
  61. package/src/spec.kbd.json +0 -24
  62. package/src/spec.label.json +0 -29
  63. package/src/spec.legend.json +0 -24
  64. package/src/spec.li.json +0 -40
  65. package/src/spec.link.json +0 -140
  66. package/src/spec.main.json +0 -27
  67. package/src/spec.map.json +0 -30
  68. package/src/spec.mark.json +0 -24
  69. package/src/spec.math.json +0 -20
  70. package/src/spec.menu.json +0 -53
  71. package/src/spec.meta.json +0 -59
  72. package/src/spec.meter.json +0 -62
  73. package/src/spec.nav.json +0 -26
  74. package/src/spec.noscript.json +0 -24
  75. package/src/spec.object.json +0 -40
  76. package/src/spec.ol.json +0 -71
  77. package/src/spec.optgroup.json +0 -34
  78. package/src/spec.option.json +0 -70
  79. package/src/spec.output.json +0 -29
  80. package/src/spec.p.json +0 -27
  81. package/src/spec.picture.json +0 -46
  82. package/src/spec.portal.json +0 -25
  83. package/src/spec.pre.json +0 -24
  84. package/src/spec.progress.json +0 -44
  85. package/src/spec.q.json +0 -29
  86. package/src/spec.rp.json +0 -23
  87. package/src/spec.rt.json +0 -24
  88. package/src/spec.ruby.json +0 -55
  89. package/src/spec.s.json +0 -24
  90. package/src/spec.samp.json +0 -24
  91. package/src/spec.script.json +0 -73
  92. package/src/spec.section.json +0 -73
  93. package/src/spec.select.json +0 -66
  94. package/src/spec.slot.json +0 -29
  95. package/src/spec.small.json +0 -24
  96. package/src/spec.source.json +0 -52
  97. package/src/spec.span.json +0 -24
  98. package/src/spec.strong.json +0 -27
  99. package/src/spec.style.json +0 -35
  100. package/src/spec.sub.json +0 -27
  101. package/src/spec.summary.json +0 -38
  102. package/src/spec.sup.json +0 -27
  103. package/src/spec.svg_a.json +0 -118
  104. package/src/spec.svg_animate.json +0 -109
  105. package/src/spec.svg_animateMotion.json +0 -73
  106. package/src/spec.svg_animateTransform.json +0 -47
  107. package/src/spec.svg_circle.json +0 -113
  108. package/src/spec.svg_clipPath.json +0 -108
  109. package/src/spec.svg_defs.json +0 -109
  110. package/src/spec.svg_desc.json +0 -21
  111. package/src/spec.svg_discard.json +0 -31
  112. package/src/spec.svg_ellipse.json +0 -116
  113. package/src/spec.svg_feBlend.json +0 -115
  114. package/src/spec.svg_feColorMatrix.json +0 -104
  115. package/src/spec.svg_feComponentTransfer.json +0 -97
  116. package/src/spec.svg_feComposite.json +0 -146
  117. package/src/spec.svg_feConvolveMatrix.json +0 -147
  118. package/src/spec.svg_feDiffuseLighting.json +0 -126
  119. package/src/spec.svg_feDisplacementMap.json +0 -133
  120. package/src/spec.svg_feDistantLight.json +0 -32
  121. package/src/spec.svg_feDropShadow.json +0 -109
  122. package/src/spec.svg_feFlood.json +0 -101
  123. package/src/spec.svg_feFuncA.json +0 -20
  124. package/src/spec.svg_feFuncB.json +0 -20
  125. package/src/spec.svg_feFuncG.json +0 -20
  126. package/src/spec.svg_feFuncR.json +0 -20
  127. package/src/spec.svg_feGaussianBlur.json +0 -105
  128. package/src/spec.svg_feImage.json +0 -123
  129. package/src/spec.svg_feMerge.json +0 -90
  130. package/src/spec.svg_feMergeNode.json +0 -20
  131. package/src/spec.svg_feMorphology.json +0 -106
  132. package/src/spec.svg_feOffset.json +0 -103
  133. package/src/spec.svg_fePointLight.json +0 -38
  134. package/src/spec.svg_feSpecularLighting.json +0 -131
  135. package/src/spec.svg_feSpotLight.json +0 -67
  136. package/src/spec.svg_feTile.json +0 -90
  137. package/src/spec.svg_feTurbulence.json +0 -127
  138. package/src/spec.svg_filter.json +0 -138
  139. package/src/spec.svg_foreignObject.json +0 -97
  140. package/src/spec.svg_g.json +0 -115
  141. package/src/spec.svg_image.json +0 -128
  142. package/src/spec.svg_line.json +0 -136
  143. package/src/spec.svg_linearGradient.json +0 -152
  144. package/src/spec.svg_marker.json +0 -180
  145. package/src/spec.svg_mask.json +0 -142
  146. package/src/spec.svg_metadata.json +0 -21
  147. package/src/spec.svg_mpath.json +0 -26
  148. package/src/spec.svg_path.json +0 -114
  149. package/src/spec.svg_pattern.json +0 -157
  150. package/src/spec.svg_polygon.json +0 -117
  151. package/src/spec.svg_polyline.json +0 -117
  152. package/src/spec.svg_radialGradient.json +0 -162
  153. package/src/spec.svg_rect.json +0 -118
  154. package/src/spec.svg_script.json +0 -40
  155. package/src/spec.svg_set.json +0 -42
  156. package/src/spec.svg_stop.json +0 -110
  157. package/src/spec.svg_style.json +0 -36
  158. package/src/spec.svg_svg.json +0 -170
  159. package/src/spec.svg_switch.json +0 -105
  160. package/src/spec.svg_symbol.json +0 -77
  161. package/src/spec.svg_text.json +0 -153
  162. package/src/spec.svg_textPath.json +0 -169
  163. package/src/spec.svg_title.json +0 -21
  164. package/src/spec.svg_tspan.json +0 -147
  165. package/src/spec.svg_use.json +0 -115
  166. package/src/spec.svg_view.json +0 -45
  167. package/src/spec.table.json +0 -64
  168. package/src/spec.tbody.json +0 -23
  169. package/src/spec.td.json +0 -37
  170. package/src/spec.template.json +0 -20
  171. package/src/spec.textarea.json +0 -67
  172. package/src/spec.tfoot.json +0 -23
  173. package/src/spec.th.json +0 -66
  174. package/src/spec.thead.json +0 -23
  175. package/src/spec.time.json +0 -32
  176. package/src/spec.title.json +0 -24
  177. package/src/spec.tr.json +0 -29
  178. package/src/spec.track.json +0 -54
  179. package/src/spec.u.json +0 -24
  180. package/src/spec.ul.json +0 -53
  181. package/src/spec.var.json +0 -24
  182. package/src/spec.video.json +0 -78
  183. package/src/spec.wbr.json +0 -25
package/src/spec.dfn.json DELETED
@@ -1,23 +0,0 @@
1
- // https://html.spec.whatwg.org/multipage/text-level-semantics.html#the-dfn-element
2
- // https://www.w3.org/TR/html-aria/#el-dfn
3
- // https://w3c.github.io/html-aria/#el-dfn
4
- {
5
- "contentModel": {
6
- "contents": [
7
- {
8
- "oneOrMore": ":model(phrasing):not(dfn, :has(dfn))"
9
- }
10
- ]
11
- },
12
- "globalAttrs": {
13
- "#HTMLGlobalAttrs": true,
14
- "#GlobalEventAttrs": true,
15
- "#DocumentElementEventAttrs": true,
16
- "#ARIAAttrs": true
17
- },
18
- "attributes": {},
19
- "aria": {
20
- "implicitRole": "term",
21
- "permittedRoles": true
22
- }
23
- }
@@ -1,36 +0,0 @@
1
- // https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dialog
2
- // https://www.w3.org/TR/html-aria/#el-dialog
3
- // https://w3c.github.io/html-aria/#el-dialog
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/interactive-elements.html#the-dialog-element:attr-tabindex
20
- "tabindex": {
21
- "noUse": true
22
- },
23
- // https://html.spec.whatwg.org/multipage/interactive-elements.html#attr-dialog-open
24
- "open": {
25
- "type": "Boolean"
26
- }
27
- },
28
- "aria": {
29
- "implicitRole": "dialog",
30
- "permittedRoles": ["alertdialog"],
31
- "properties": {
32
- "global": true,
33
- "role": "dialog"
34
- }
35
- }
36
- }
package/src/spec.div.json DELETED
@@ -1,55 +0,0 @@
1
- // https://html.spec.whatwg.org/multipage/grouping-content.html#the-div-element
2
- // https://www.w3.org/TR/html-aria/#el-div
3
- // https://w3c.github.io/html-aria/#el-div
4
- {
5
- "contentModel": {
6
- "contents": [
7
- {
8
- "oneOrMore": ":model(flow)"
9
- }
10
- ],
11
- "conditional": [
12
- {
13
- "condition": "dl > div",
14
- "contents": [
15
- {
16
- "zeroOrMore": ":model(script-supporting)"
17
- },
18
- {
19
- "oneOrMore": "dt"
20
- },
21
- {
22
- "zeroOrMore": ":model(script-supporting)"
23
- },
24
- {
25
- "oneOrMore": "dd"
26
- },
27
- {
28
- "zeroOrMore": ":model(script-supporting)"
29
- }
30
- ]
31
- }
32
- ]
33
- },
34
- "globalAttrs": {
35
- "#HTMLGlobalAttrs": true,
36
- "#GlobalEventAttrs": true,
37
- "#DocumentElementEventAttrs": true,
38
- "#ARIAAttrs": true
39
- },
40
- "attributes": {},
41
- "aria": {
42
- "implicitRole": "generic",
43
- "permittedRoles": true,
44
- "namingProhibited": true,
45
- "conditions": {
46
- "dl > div": {
47
- "permittedRoles": ["presentation", "none"]
48
- }
49
- },
50
- "1.1": {
51
- "implicitRole": false,
52
- "permittedRoles": true
53
- }
54
- }
55
- }
package/src/spec.dl.json DELETED
@@ -1,56 +0,0 @@
1
- // https://html.spec.whatwg.org/multipage/grouping-content.html#the-dl-element
2
- // https://www.w3.org/TR/html-aria/#el-dl
3
- // https://w3c.github.io/html-aria/#el-dl
4
- {
5
- "contentModel": {
6
- "contents": [
7
- {
8
- "choice": [
9
- [
10
- {
11
- "oneOrMore": [
12
- {
13
- "zeroOrMore": ":model(script-supporting)"
14
- },
15
- {
16
- "oneOrMore": "dt"
17
- },
18
- {
19
- "zeroOrMore": ":model(script-supporting)"
20
- },
21
- {
22
- "oneOrMore": "dd"
23
- },
24
- {
25
- "zeroOrMore": ":model(script-supporting)"
26
- }
27
- ]
28
- }
29
- ],
30
- [
31
- {
32
- "zeroOrMore": ":model(script-supporting)"
33
- },
34
- {
35
- "oneOrMore": "div"
36
- },
37
- {
38
- "zeroOrMore": ":model(script-supporting)"
39
- }
40
- ]
41
- ]
42
- }
43
- ]
44
- },
45
- "globalAttrs": {
46
- "#HTMLGlobalAttrs": true,
47
- "#GlobalEventAttrs": true,
48
- "#DocumentElementEventAttrs": true,
49
- "#ARIAAttrs": true
50
- },
51
- "attributes": {},
52
- "aria": {
53
- "implicitRole": false,
54
- "permittedRoles": ["group", "list", "none", "presentation"]
55
- }
56
- }
package/src/spec.dt.json DELETED
@@ -1,26 +0,0 @@
1
- // https://html.spec.whatwg.org/multipage/grouping-content.html#the-dt-element
2
- // https://www.w3.org/TR/html-aria/#el-dt
3
- // https://w3c.github.io/html-aria/#el-dt
4
- {
5
- "contentModel": {
6
- "contents": [
7
- {
8
- "oneOrMore": ":model(flow):not(header, footer, :model(sectioning), :model(heading), :has(header, footer, :model(sectioning), :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": ["listitem"],
22
- "1.1": {
23
- "implicitRole": "term"
24
- }
25
- }
26
- }
package/src/spec.em.json DELETED
@@ -1,27 +0,0 @@
1
- // https://html.spec.whatwg.org/multipage/text-level-semantics.html#the-em-element
2
- // https://www.w3.org/TR/html-aria/#el-em
3
- // https://w3c.github.io/html-aria/#el-em
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": "emphasis",
21
- "permittedRoles": true,
22
- "namingProhibited": true,
23
- "1.1": {
24
- "implicitRole": false
25
- }
26
- }
27
- }
@@ -1,30 +0,0 @@
1
- // https://html.spec.whatwg.org/multipage/iframe-embed-object.html#the-embed-element
2
- // https://www.w3.org/TR/html-aria/#el-embed
3
- // https://w3c.github.io/html-aria/#el-embed
4
- {
5
- "contentModel": {
6
- "contents": false
7
- },
8
- "globalAttrs": {
9
- "#HTMLGlobalAttrs": true,
10
- "#GlobalEventAttrs": true,
11
- "#DocumentElementEventAttrs": true,
12
- "#ARIAAttrs": true,
13
- "#HTMLEmbededAndMediaContentAttrs": ["height", "width"]
14
- },
15
- "attributes": {
16
- // https://html.spec.whatwg.org/multipage/iframe-embed-object.html#attr-embed-src
17
- "src": {
18
- "type": "URL",
19
- "required": "[itemprop]"
20
- },
21
- // https://html.spec.whatwg.org/multipage/iframe-embed-object.html#attr-embed-type
22
- "type": {
23
- "type": "MIMEType"
24
- }
25
- },
26
- "aria": {
27
- "implicitRole": false,
28
- "permittedRoles": ["application", "document", "img", "none", "presentation"]
29
- }
30
- }
@@ -1,27 +0,0 @@
1
- // https://html.spec.whatwg.org/multipage/form-elements.html#the-fieldset-element
2
- // https://www.w3.org/TR/html-aria/#el-fieldset
3
- // https://w3c.github.io/html-aria/#el-fieldset
4
- {
5
- "contentModel": {
6
- "contents": [
7
- {
8
- "optional": "legend"
9
- },
10
- {
11
- "oneOrMore": ":model(flow)"
12
- }
13
- ]
14
- },
15
- "globalAttrs": {
16
- "#HTMLGlobalAttrs": true,
17
- "#GlobalEventAttrs": true,
18
- "#DocumentElementEventAttrs": true,
19
- "#ARIAAttrs": true,
20
- "#HTMLFormControlElementAttrs": ["disabled", "form", "name"]
21
- },
22
- "attributes": {},
23
- "aria": {
24
- "implicitRole": "group",
25
- "permittedRoles": ["radiogroup", "presentation", "none"]
26
- }
27
- }
@@ -1,24 +0,0 @@
1
- // https://html.spec.whatwg.org/multipage/grouping-content.html#the-figcaption-element
2
- // https://www.w3.org/TR/html-aria/#el-figcaption
3
- // https://w3c.github.io/html-aria/#el-figcaption
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": false,
21
- "permittedRoles": ["group", "none", "presentation"],
22
- "namingProhibited": true
23
- }
24
- }
@@ -1,52 +0,0 @@
1
- // https://html.spec.whatwg.org/multipage/grouping-content.html#the-figure-element
2
- // https://www.w3.org/TR/html-aria/#el-figure
3
- // https://w3c.github.io/html-aria/#el-figure
4
- {
5
- "contentModel": {
6
- "contents": [
7
- {
8
- "choice": [
9
- [
10
- {
11
- "require": "figcaption"
12
- },
13
- {
14
- "oneOrMore": ":model(flow)"
15
- }
16
- ],
17
- [
18
- {
19
- "oneOrMore": ":model(flow)"
20
- },
21
- {
22
- "require": "figcaption"
23
- }
24
- ],
25
- [
26
- {
27
- "oneOrMore": ":model(flow)"
28
- }
29
- ]
30
- ]
31
- }
32
- ]
33
- },
34
- "globalAttrs": {
35
- "#HTMLGlobalAttrs": true,
36
- "#GlobalEventAttrs": true,
37
- "#DocumentElementEventAttrs": true,
38
- "#ARIAAttrs": true
39
- },
40
- "attributes": {},
41
- "aria": {
42
- "implicitRole": "figure",
43
- // If the figure has no figcaption descendant: Any role
44
- "permittedRoles": true,
45
- "conditions": {
46
- ":has(figcaption)": {
47
- // If the figure has a figcaption descendant: No role.
48
- "permittedRoles": false
49
- }
50
- }
51
- }
52
- }
@@ -1,37 +0,0 @@
1
- // https://html.spec.whatwg.org/multipage/sections.html#the-footer-element
2
- // https://www.w3.org/TR/html-aria/#el-footer
3
- // https://w3c.github.io/html-aria/#el-footer
4
- {
5
- "contentModel": {
6
- "contents": [
7
- {
8
- "oneOrMore": ":model(flow):not(header, footer, :has(header, footer))"
9
- }
10
- ]
11
- },
12
- "globalAttrs": {
13
- "#HTMLGlobalAttrs": true,
14
- "#GlobalEventAttrs": true,
15
- "#DocumentElementEventAttrs": true,
16
- "#ARIAAttrs": true
17
- },
18
- "attributes": {},
19
- "aria": {
20
- "implicitRole": "contentinfo",
21
- "permittedRoles": ["group", "presentation", "none"],
22
- "conditions": {
23
- ":has(article, aside, main, nav, section, [role=article], [role=complementary], [role=main], [role=navigation], [role=region])": {
24
- "implicitRole": "generic",
25
- "namingProhibited": true
26
- }
27
- },
28
- "1.1": {
29
- "implicitRole": "contentinfo",
30
- "conditions": {
31
- ":has(article, aside, main, nav, section, [role=article], [role=complementary], [role=main], [role=navigation], [role=region])": {
32
- "implicitRole": false
33
- }
34
- }
35
- }
36
- }
37
- }
@@ -1,100 +0,0 @@
1
- // https://html.spec.whatwg.org/multipage/forms.html#the-form-element
2
- // https://www.w3.org/TR/html-aria/#el-form
3
- // https://w3c.github.io/html-aria/#el-form
4
- {
5
- "contentModel": {
6
- "contents": [
7
- {
8
- "oneOrMore": ":model(flow):not(form, :has(form))"
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-form-accept-charset
20
- "accept-charset": {
21
- "type": {
22
- "enum": ["utf-8"],
23
- "caseInsensitive": true
24
- }
25
- },
26
- // https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#attr-fs-action
27
- "action": {
28
- "type": "URL"
29
- },
30
- // https://html.spec.whatwg.org/multipage/forms.html#attr-form-autocomplete
31
- "autocomplete": {
32
- "type": {
33
- "enum": ["on", "off"],
34
- "invalidValueDefault": "on",
35
- "missingValueDefault": "on"
36
- }
37
- },
38
- // https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#attr-fs-formenctype
39
- "enctype": {
40
- "type": {
41
- "enum": ["application/x-www-form-urlencoded", "multipart/form-data", "text/plain"],
42
- "invalidValueDefault": "application/x-www-form-urlencoded",
43
- "missingValueDefault": "application/x-www-form-urlencoded"
44
- }
45
- },
46
- // https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#attr-fs-formmethod
47
- "method": {
48
- "type": {
49
- "enum": ["post", "get", "dialog"],
50
- "invalidValueDefault": "get",
51
- "missingValueDefault": "get"
52
- }
53
- },
54
- // https://html.spec.whatwg.org/multipage/forms.html#attr-form-name
55
- "name": {
56
- "type": "NoEmptyAny"
57
- },
58
- // https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#attr-fs-novalidate
59
- "novalidate": {
60
- "type": "Boolean"
61
- },
62
- // https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#attr-fs-target
63
- "target": {
64
- "type": "BrowsingContextNameOrKeyword"
65
- },
66
- // https://html.spec.whatwg.org/multipage/forms.html#attr-form-rel
67
- "rel": {
68
- "type": {
69
- "token": {
70
- "enum": [
71
- "external",
72
- "help",
73
- "license",
74
- "next",
75
- "nofollow",
76
- "noopener",
77
- "noreferrer",
78
- "opener",
79
- "prev",
80
- "search"
81
- ]
82
- },
83
- "unique": true,
84
- "separator": "space"
85
- }
86
- }
87
- },
88
- "aria": {
89
- "implicitRole": "form",
90
- "permittedRoles": ["search", "none", "presentation"],
91
- "1.1": {
92
- "implicitRole": false,
93
- "conditions": {
94
- ":aria(has name)": {
95
- "implicitRole": "form"
96
- }
97
- }
98
- }
99
- }
100
- }
package/src/spec.h1.json DELETED
@@ -1,26 +0,0 @@
1
- // https://html.spec.whatwg.org/multipage/sections.html#the-h1,-h2,-h3,-h4,-h5,-and-h6-elements
2
- // https://www.w3.org/TR/html-aria/#el-h1
3
- // https://w3c.github.io/html-aria/#el-h1-h6
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": "heading",
21
- "implicitProperties": {
22
- "aria-level": "1"
23
- },
24
- "permittedRoles": ["tab", "presentation", "none"]
25
- }
26
- }
package/src/spec.h2.json DELETED
@@ -1,26 +0,0 @@
1
- // https://html.spec.whatwg.org/multipage/sections.html#the-h1,-h2,-h3,-h4,-h5,-and-h6-elements
2
- // https://www.w3.org/TR/html-aria/#el-h1
3
- // https://w3c.github.io/html-aria/#el-h1-h6
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": "heading",
21
- "implicitProperties": {
22
- "aria-level": "2"
23
- },
24
- "permittedRoles": ["tab", "presentation", "none"]
25
- }
26
- }
package/src/spec.h3.json DELETED
@@ -1,26 +0,0 @@
1
- // https://html.spec.whatwg.org/multipage/sections.html#the-h1,-h2,-h3,-h4,-h5,-and-h6-elements
2
- // https://www.w3.org/TR/html-aria/#el-h1
3
- // https://w3c.github.io/html-aria/#el-h1-h6
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": "heading",
21
- "implicitProperties": {
22
- "aria-level": "3"
23
- },
24
- "permittedRoles": ["tab", "presentation", "none"]
25
- }
26
- }
package/src/spec.h4.json DELETED
@@ -1,26 +0,0 @@
1
- // https://html.spec.whatwg.org/multipage/sections.html#the-h1,-h2,-h3,-h4,-h5,-and-h6-elements
2
- // https://www.w3.org/TR/html-aria/#el-h1
3
- // https://w3c.github.io/html-aria/#el-h1-h6
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": "heading",
21
- "implicitProperties": {
22
- "aria-level": "4"
23
- },
24
- "permittedRoles": ["tab", "presentation", "none"]
25
- }
26
- }
package/src/spec.h5.json DELETED
@@ -1,26 +0,0 @@
1
- // https://html.spec.whatwg.org/multipage/sections.html#the-h1,-h2,-h3,-h4,-h5,-and-h6-elements
2
- // https://www.w3.org/TR/html-aria/#el-h1
3
- // https://w3c.github.io/html-aria/#el-h1-h6
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": "heading",
21
- "implicitProperties": {
22
- "aria-level": "5"
23
- },
24
- "permittedRoles": ["tab", "presentation", "none"]
25
- }
26
- }
package/src/spec.h6.json DELETED
@@ -1,26 +0,0 @@
1
- // https://html.spec.whatwg.org/multipage/sections.html#the-h1,-h2,-h3,-h4,-h5,-and-h6-elements
2
- // https://www.w3.org/TR/html-aria/#el-h1
3
- // https://w3c.github.io/html-aria/#el-h1-h6
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": "heading",
21
- "implicitProperties": {
22
- "aria-level": "6"
23
- },
24
- "permittedRoles": ["tab", "presentation", "none"]
25
- }
26
- }