@codelaw/rules-html 0.0.0-stage → 0.1.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 (103) hide show
  1. package/LICENSE +23 -0
  2. package/NOTICE +24 -0
  3. package/README.md +162 -2
  4. package/codelaw-pack.toml +6 -0
  5. package/data/html/elements.json +4892 -0
  6. package/data/html/entities.json +1 -0
  7. package/data/html/input-attributes.json +227 -0
  8. package/package.json +14 -4
  9. package/presets/html/a11y.toml +29 -0
  10. package/presets/html/conventions.toml +6 -0
  11. package/presets/html/document.toml +8 -0
  12. package/presets/html/recommended.toml +67 -0
  13. package/rules/html/area-alt.md +48 -0
  14. package/rules/html/aria-hidden-body.md +39 -0
  15. package/rules/html/aria-label-misuse.md +42 -0
  16. package/rules/html/attribute-allowed-values.cases.md +31 -0
  17. package/rules/html/attribute-allowed-values.md +41 -0
  18. package/rules/html/attribute-misuse.md +39 -0
  19. package/rules/html/autocomplete-password.md +41 -0
  20. package/rules/html/button-type.cases.md +28 -0
  21. package/rules/html/button-type.md +35 -0
  22. package/rules/html/close-attr.md +33 -0
  23. package/rules/html/close-order.cases.md +38 -0
  24. package/rules/html/close-order.md +47 -0
  25. package/rules/html/deprecated.md +39 -0
  26. package/rules/html/doctype-html.md +36 -0
  27. package/rules/html/element-name.cases.md +21 -0
  28. package/rules/html/element-name.md +42 -0
  29. package/rules/html/element-permitted-content.cases.md +54 -0
  30. package/rules/html/element-permitted-content.md +45 -0
  31. package/rules/html/element-permitted-occurrences.md +45 -0
  32. package/rules/html/element-permitted-order.md +44 -0
  33. package/rules/html/element-permitted-parent.cases.md +11 -0
  34. package/rules/html/element-permitted-parent.md +43 -0
  35. package/rules/html/element-required-ancestor.md +45 -0
  36. package/rules/html/element-required-attributes.md +44 -0
  37. package/rules/html/element-required-content.cases.md +23 -0
  38. package/rules/html/element-required-content.md +43 -0
  39. package/rules/html/empty-heading.md +40 -0
  40. package/rules/html/empty-title.md +39 -0
  41. package/rules/html/fieldset-legend.md +44 -0
  42. package/rules/html/form-dup-name.cases.md +38 -0
  43. package/rules/html/form-dup-name.md +48 -0
  44. package/rules/html/form-submit.md +44 -0
  45. package/rules/html/heading-level.cases.md +26 -0
  46. package/rules/html/heading-level.md +44 -0
  47. package/rules/html/hidden-focusable.cases.md +23 -0
  48. package/rules/html/hidden-focusable.md +40 -0
  49. package/rules/html/img-alt.cases.md +22 -0
  50. package/rules/html/img-alt.md +44 -0
  51. package/rules/html/img-title.md +40 -0
  52. package/rules/html/input-attributes.md +34 -0
  53. package/rules/html/input-image-alt.md +39 -0
  54. package/rules/html/input-missing-label.md +40 -0
  55. package/rules/html/link-text.md +39 -0
  56. package/rules/html/long-title.md +40 -0
  57. package/rules/html/map-dup-name.md +40 -0
  58. package/rules/html/map-id-name.md +38 -0
  59. package/rules/html/meta-refresh.md +42 -0
  60. package/rules/html/missing-doctype.cases.md +24 -0
  61. package/rules/html/missing-doctype.md +43 -0
  62. package/rules/html/multiple-labeled-controls.md +40 -0
  63. package/rules/html/no-abstract-role.md +39 -0
  64. package/rules/html/no-autoplay.md +37 -0
  65. package/rules/html/no-conditional-comment.md +39 -0
  66. package/rules/html/no-deprecated-attr.md +39 -0
  67. package/rules/html/no-dup-attr.md +37 -0
  68. package/rules/html/no-dup-class.md +33 -0
  69. package/rules/html/no-duplicate-id.cases.md +23 -0
  70. package/rules/html/no-duplicate-id.md +42 -0
  71. package/rules/html/no-implicit-close.cases.md +38 -0
  72. package/rules/html/no-implicit-close.md +40 -0
  73. package/rules/html/no-implicit-input-type.md +34 -0
  74. package/rules/html/no-inline-script.md +42 -0
  75. package/rules/html/no-inline-style.cases.md +12 -0
  76. package/rules/html/no-inline-style.md +42 -0
  77. package/rules/html/no-missing-references.md +39 -0
  78. package/rules/html/no-multiple-main.md +40 -0
  79. package/rules/html/no-raw-characters.cases.md +84 -0
  80. package/rules/html/no-raw-characters.md +35 -0
  81. package/rules/html/no-redundant-aria-label.md +36 -0
  82. package/rules/html/no-redundant-for.md +34 -0
  83. package/rules/html/no-redundant-role.md +42 -0
  84. package/rules/html/no-utf8-bom.md +45 -0
  85. package/rules/html/prefer-button.md +39 -0
  86. package/rules/html/prefer-native-element.md +40 -0
  87. package/rules/html/prefer-tbody.md +41 -0
  88. package/rules/html/require-sri.md +41 -0
  89. package/rules/html/script-element.md +36 -0
  90. package/rules/html/script-type.md +33 -0
  91. package/rules/html/target-blank-rel.cases.md +35 -0
  92. package/rules/html/target-blank-rel.md +32 -0
  93. package/rules/html/tel-non-breaking.md +37 -0
  94. package/rules/html/text-content.md +39 -0
  95. package/rules/html/th-scope.md +47 -0
  96. package/rules/html/unique-landmark.md +41 -0
  97. package/rules/html/unrecognized-char-ref.cases.md +41 -0
  98. package/rules/html/unrecognized-char-ref.md +42 -0
  99. package/rules/html/valid-autocomplete.cases.md +42 -0
  100. package/rules/html/valid-autocomplete.md +42 -0
  101. package/rules/html/valid-for.md +40 -0
  102. package/rules/html/valid-id.md +40 -0
  103. package/rules/html/void-content.md +34 -0
@@ -0,0 +1,4892 @@
1
+ {
2
+ "$comment": "Element metadata derived from html-validate 11.16.4 (MIT, Copyright (c) 2017 David Sveningsson). Functions are rewritten as conditions; see packs/html/README.md#data.",
3
+ "elements": {
4
+ "a": {
5
+ "aria": {
6
+ "implicitRole": {
7
+ "else": "generic",
8
+ "if": {
9
+ "attr": "href"
10
+ },
11
+ "then": "link"
12
+ },
13
+ "naming": {
14
+ "else": "prohibited",
15
+ "if": {
16
+ "attr": "href"
17
+ },
18
+ "then": "allowed"
19
+ }
20
+ },
21
+ "attributes": {
22
+ "charset": {
23
+ "deprecated": true
24
+ },
25
+ "coords": {
26
+ "deprecated": true
27
+ },
28
+ "datafld": {
29
+ "deprecated": true
30
+ },
31
+ "datasrc": {
32
+ "deprecated": true
33
+ },
34
+ "download": {
35
+ "allowed": {
36
+ "if-attribute-present": [
37
+ "href"
38
+ ]
39
+ },
40
+ "enum": [
41
+ {
42
+ "name": "a non-empty string",
43
+ "regex": "^.+$"
44
+ }
45
+ ],
46
+ "omit": true
47
+ },
48
+ "href": {
49
+ "enum": [
50
+ {
51
+ "name": "/.*/",
52
+ "regex": "^.*$"
53
+ }
54
+ ]
55
+ },
56
+ "hreflang": {
57
+ "allowed": {
58
+ "if-attribute-present": [
59
+ "href"
60
+ ]
61
+ }
62
+ },
63
+ "itemprop": {
64
+ "allowed": {
65
+ "if-attribute-present": [
66
+ "href"
67
+ ]
68
+ }
69
+ },
70
+ "methods": {
71
+ "deprecated": true
72
+ },
73
+ "name": {
74
+ "deprecated": true
75
+ },
76
+ "ping": {
77
+ "allowed": {
78
+ "if-attribute-present": [
79
+ "href"
80
+ ]
81
+ }
82
+ },
83
+ "referrerpolicy": {
84
+ "allowed": {
85
+ "if-attribute-present": [
86
+ "href"
87
+ ]
88
+ },
89
+ "enum": [
90
+ "",
91
+ "no-referrer",
92
+ "no-referrer-when-downgrade",
93
+ "same-origin",
94
+ "origin",
95
+ "strict-origin",
96
+ "origin-when-cross-origin",
97
+ "strict-origin-when-cross-origin",
98
+ "unsafe-url"
99
+ ]
100
+ },
101
+ "rel": {
102
+ "allowed": {
103
+ "disallowed-prefix": "dcterms.",
104
+ "rel-disallowed": [
105
+ "canonical",
106
+ "dns-prefetch",
107
+ "expect",
108
+ "icon",
109
+ "manifest",
110
+ "modulepreload",
111
+ "pingback",
112
+ "preconnect",
113
+ "prefetch",
114
+ "preload",
115
+ "stylesheet",
116
+ "apple-touch-icon",
117
+ "apple-touch-icon-precomposed",
118
+ "apple-touch-startup-image",
119
+ "authorization_endpoint",
120
+ "component",
121
+ "chrome-webstore-item",
122
+ "edit",
123
+ "gbfs",
124
+ "gtfs-static",
125
+ "gtfs-realtime",
126
+ "import",
127
+ "mask-icon",
128
+ "meta",
129
+ "micropub",
130
+ "openid.delegate",
131
+ "openid.server",
132
+ "openid2.local_id",
133
+ "openid2.provider",
134
+ "p3pv1",
135
+ "pgpkey",
136
+ "schema.dcterms",
137
+ "service",
138
+ "shortlink",
139
+ "sitemap",
140
+ "subresource",
141
+ "sword",
142
+ "timesheet",
143
+ "token_endpoint",
144
+ "wlwmanifest",
145
+ "stylesheet/less",
146
+ "yandex-tableau-widget"
147
+ ],
148
+ "requires": "href"
149
+ },
150
+ "enum": [
151
+ {
152
+ "name": "a non-empty string",
153
+ "regex": "^.+$"
154
+ }
155
+ ],
156
+ "list": true
157
+ },
158
+ "shape": {
159
+ "deprecated": true
160
+ },
161
+ "target": {
162
+ "allowed": {
163
+ "if-attribute-present": [
164
+ "href"
165
+ ]
166
+ },
167
+ "enum": [
168
+ {
169
+ "name": "a browsing context name (non-empty string, must not start with `_`)",
170
+ "regex": "^[^_].*$"
171
+ },
172
+ "_blank",
173
+ "_self",
174
+ "_parent",
175
+ "_top"
176
+ ]
177
+ },
178
+ "type": {
179
+ "allowed": {
180
+ "if-attribute-present": [
181
+ "href"
182
+ ]
183
+ }
184
+ },
185
+ "urn": {
186
+ "deprecated": true
187
+ }
188
+ },
189
+ "flow": true,
190
+ "focusable": {
191
+ "attr": "href"
192
+ },
193
+ "interactive": {
194
+ "attr": "href"
195
+ },
196
+ "permittedDescendants": [
197
+ {
198
+ "exclude": [
199
+ "@interactive",
200
+ "a"
201
+ ]
202
+ }
203
+ ],
204
+ "phrasing": true,
205
+ "transparent": true
206
+ },
207
+ "abbr": {
208
+ "aria": {
209
+ "naming": "prohibited"
210
+ },
211
+ "flow": true,
212
+ "permittedContent": [
213
+ "@phrasing"
214
+ ],
215
+ "phrasing": true
216
+ },
217
+ "acronym": {
218
+ "deprecated": {
219
+ "message": "use <abbr> instead",
220
+ "source": "html5"
221
+ }
222
+ },
223
+ "address": {
224
+ "aria": {
225
+ "implicitRole": "group"
226
+ },
227
+ "flow": true,
228
+ "permittedContent": [
229
+ "@flow"
230
+ ],
231
+ "permittedDescendants": [
232
+ {
233
+ "exclude": [
234
+ "address",
235
+ "header",
236
+ "footer",
237
+ "@heading",
238
+ "@sectioning"
239
+ ]
240
+ }
241
+ ]
242
+ },
243
+ "applet": {
244
+ "attributes": {
245
+ "datafld": {
246
+ "deprecated": true
247
+ },
248
+ "datasrc": {
249
+ "deprecated": true
250
+ }
251
+ },
252
+ "deprecated": {
253
+ "source": "html5"
254
+ }
255
+ },
256
+ "area": {
257
+ "aria": {
258
+ "implicitRole": {
259
+ "else": "generic",
260
+ "if": {
261
+ "attr": "href"
262
+ },
263
+ "then": "link"
264
+ },
265
+ "naming": {
266
+ "else": "prohibited",
267
+ "if": {
268
+ "attr": "href"
269
+ },
270
+ "then": "allowed"
271
+ }
272
+ },
273
+ "attributes": {
274
+ "alt": {},
275
+ "coords": {
276
+ "allowed": {
277
+ "unless-attr-value": {
278
+ "name": "shape",
279
+ "values": [
280
+ "default"
281
+ ]
282
+ }
283
+ }
284
+ },
285
+ "download": {
286
+ "allowed": {
287
+ "if-attribute-present": [
288
+ "href"
289
+ ]
290
+ }
291
+ },
292
+ "itemprop": {
293
+ "allowed": {
294
+ "if-attribute-present": [
295
+ "href"
296
+ ]
297
+ }
298
+ },
299
+ "nohref": {
300
+ "deprecated": true
301
+ },
302
+ "ping": {
303
+ "allowed": {
304
+ "if-attribute-present": [
305
+ "href"
306
+ ]
307
+ }
308
+ },
309
+ "referrerpolicy": {
310
+ "allowed": {
311
+ "if-attribute-present": [
312
+ "href"
313
+ ]
314
+ },
315
+ "enum": [
316
+ "",
317
+ "no-referrer",
318
+ "no-referrer-when-downgrade",
319
+ "same-origin",
320
+ "origin",
321
+ "strict-origin",
322
+ "origin-when-cross-origin",
323
+ "strict-origin-when-cross-origin",
324
+ "unsafe-url"
325
+ ]
326
+ },
327
+ "rel": {
328
+ "allowed": {
329
+ "disallowed-prefix": "dcterms.",
330
+ "rel-disallowed": [
331
+ "canonical",
332
+ "dns-prefetch",
333
+ "expect",
334
+ "icon",
335
+ "manifest",
336
+ "modulepreload",
337
+ "pingback",
338
+ "preconnect",
339
+ "prefetch",
340
+ "preload",
341
+ "stylesheet",
342
+ "apple-touch-icon",
343
+ "apple-touch-icon-precomposed",
344
+ "apple-touch-startup-image",
345
+ "authorization_endpoint",
346
+ "component",
347
+ "chrome-webstore-item",
348
+ "edit",
349
+ "gbfs",
350
+ "gtfs-static",
351
+ "gtfs-realtime",
352
+ "import",
353
+ "mask-icon",
354
+ "meta",
355
+ "micropub",
356
+ "openid.delegate",
357
+ "openid.server",
358
+ "openid2.local_id",
359
+ "openid2.provider",
360
+ "p3pv1",
361
+ "pgpkey",
362
+ "schema.dcterms",
363
+ "service",
364
+ "shortlink",
365
+ "sitemap",
366
+ "subresource",
367
+ "sword",
368
+ "timesheet",
369
+ "token_endpoint",
370
+ "wlwmanifest",
371
+ "stylesheet/less",
372
+ "yandex-tableau-widget"
373
+ ],
374
+ "requires": "href"
375
+ }
376
+ },
377
+ "shape": {
378
+ "allowed": {
379
+ "area-shape-needs-coords": true
380
+ },
381
+ "enum": [
382
+ "rect",
383
+ "circle",
384
+ "poly",
385
+ "default"
386
+ ]
387
+ },
388
+ "target": {
389
+ "allowed": {
390
+ "if-attribute-present": [
391
+ "href"
392
+ ]
393
+ },
394
+ "enum": [
395
+ {
396
+ "name": "a browsing context name (non-empty string, must not start with `_`)",
397
+ "regex": "^[^_].*$"
398
+ },
399
+ "_blank",
400
+ "_self",
401
+ "_parent",
402
+ "_top"
403
+ ]
404
+ }
405
+ },
406
+ "flow": {
407
+ "ancestor": [
408
+ "map"
409
+ ]
410
+ },
411
+ "focusable": {
412
+ "attr": "href"
413
+ },
414
+ "phrasing": {
415
+ "ancestor": [
416
+ "map"
417
+ ]
418
+ },
419
+ "requiredAncestors": [
420
+ "map",
421
+ "template"
422
+ ],
423
+ "void": true
424
+ },
425
+ "article": {
426
+ "aria": {
427
+ "implicitRole": "article"
428
+ },
429
+ "flow": true,
430
+ "permittedContent": [
431
+ "@flow"
432
+ ],
433
+ "permittedDescendants": [
434
+ {
435
+ "exclude": [
436
+ "main"
437
+ ]
438
+ }
439
+ ],
440
+ "sectioning": true
441
+ },
442
+ "aside": {
443
+ "aria": {
444
+ "implicitRole": "complementary"
445
+ },
446
+ "flow": true,
447
+ "permittedContent": [
448
+ "@flow"
449
+ ],
450
+ "permittedDescendants": [
451
+ {
452
+ "exclude": [
453
+ "main"
454
+ ]
455
+ }
456
+ ],
457
+ "sectioning": true
458
+ },
459
+ "audio": {
460
+ "attributes": {
461
+ "autoplay": {
462
+ "boolean": true
463
+ },
464
+ "controls": {
465
+ "boolean": true
466
+ },
467
+ "crossorigin": {
468
+ "enum": [
469
+ "anonymous",
470
+ "use-credentials"
471
+ ],
472
+ "omit": true
473
+ },
474
+ "itemprop": {
475
+ "allowed": {
476
+ "if-attribute-present": [
477
+ "src"
478
+ ]
479
+ }
480
+ },
481
+ "loop": {
482
+ "boolean": true
483
+ },
484
+ "muted": {
485
+ "boolean": true
486
+ },
487
+ "preload": {
488
+ "enum": [
489
+ "none",
490
+ "metadata",
491
+ "auto"
492
+ ],
493
+ "omit": true
494
+ },
495
+ "src": {
496
+ "enum": [
497
+ {
498
+ "name": "a non-empty string",
499
+ "regex": "^.+$"
500
+ }
501
+ ]
502
+ }
503
+ },
504
+ "embedded": true,
505
+ "flow": true,
506
+ "focusable": {
507
+ "attr": "controls"
508
+ },
509
+ "interactive": {
510
+ "attr": "controls"
511
+ },
512
+ "permittedContent": [
513
+ "@flow",
514
+ "track",
515
+ "source"
516
+ ],
517
+ "permittedDescendants": [
518
+ {
519
+ "exclude": [
520
+ "audio",
521
+ "video"
522
+ ]
523
+ }
524
+ ],
525
+ "permittedOrder": [
526
+ "source",
527
+ "track",
528
+ "@flow"
529
+ ],
530
+ "phrasing": true,
531
+ "transparent": [
532
+ "@flow"
533
+ ]
534
+ },
535
+ "b": {
536
+ "aria": {
537
+ "implicitRole": "generic",
538
+ "naming": "prohibited"
539
+ },
540
+ "flow": true,
541
+ "permittedContent": [
542
+ "@phrasing"
543
+ ],
544
+ "phrasing": true
545
+ },
546
+ "base": {
547
+ "aria": {
548
+ "naming": "prohibited"
549
+ },
550
+ "attributes": {
551
+ "href": {},
552
+ "target": {}
553
+ },
554
+ "metadata": true,
555
+ "permittedParent": [
556
+ "head"
557
+ ],
558
+ "void": true
559
+ },
560
+ "basefont": {
561
+ "deprecated": {
562
+ "message": "use CSS instead",
563
+ "source": "html4"
564
+ }
565
+ },
566
+ "bdi": {
567
+ "aria": {
568
+ "implicitRole": "generic",
569
+ "naming": "prohibited"
570
+ },
571
+ "flow": true,
572
+ "permittedContent": [
573
+ "@phrasing"
574
+ ],
575
+ "phrasing": true
576
+ },
577
+ "bdo": {
578
+ "aria": {
579
+ "implicitRole": "generic",
580
+ "naming": "prohibited"
581
+ },
582
+ "flow": true,
583
+ "permittedContent": [
584
+ "@phrasing"
585
+ ],
586
+ "phrasing": true
587
+ },
588
+ "bgsound": {
589
+ "deprecated": {
590
+ "message": "use <audio> instead",
591
+ "source": "non-standard"
592
+ }
593
+ },
594
+ "big": {
595
+ "deprecated": {
596
+ "message": "use CSS instead",
597
+ "source": "html5"
598
+ }
599
+ },
600
+ "blink": {
601
+ "deprecated": {
602
+ "source": "non-standard"
603
+ }
604
+ },
605
+ "blockquote": {
606
+ "aria": {
607
+ "implicitRole": "blockquote"
608
+ },
609
+ "attributes": {
610
+ "cite": {}
611
+ },
612
+ "flow": true,
613
+ "permittedContent": [
614
+ "@flow"
615
+ ],
616
+ "sectioning": true
617
+ },
618
+ "body": {
619
+ "aria": {
620
+ "implicitRole": "generic",
621
+ "naming": "prohibited"
622
+ },
623
+ "attributes": {
624
+ "alink": {
625
+ "deprecated": true
626
+ },
627
+ "background": {
628
+ "deprecated": true
629
+ },
630
+ "bgcolor": {
631
+ "deprecated": true
632
+ },
633
+ "link": {
634
+ "deprecated": true
635
+ },
636
+ "marginbottom": {
637
+ "deprecated": true
638
+ },
639
+ "marginheight": {
640
+ "deprecated": true
641
+ },
642
+ "marginleft": {
643
+ "deprecated": true
644
+ },
645
+ "marginright": {
646
+ "deprecated": true
647
+ },
648
+ "margintop": {
649
+ "deprecated": true
650
+ },
651
+ "marginwidth": {
652
+ "deprecated": true
653
+ },
654
+ "text": {
655
+ "deprecated": true
656
+ },
657
+ "vlink": {
658
+ "deprecated": true
659
+ }
660
+ },
661
+ "optionalEnd": true,
662
+ "permittedContent": [
663
+ "@flow"
664
+ ],
665
+ "permittedParent": [
666
+ "html"
667
+ ]
668
+ },
669
+ "br": {
670
+ "aria": {
671
+ "naming": "prohibited"
672
+ },
673
+ "attributes": {
674
+ "clear": {
675
+ "deprecated": true
676
+ }
677
+ },
678
+ "flow": true,
679
+ "phrasing": true,
680
+ "void": true
681
+ },
682
+ "button": {
683
+ "aria": {
684
+ "implicitRole": "button"
685
+ },
686
+ "attributes": {
687
+ "autofocus": {
688
+ "boolean": true
689
+ },
690
+ "command": {
691
+ "enum": [
692
+ "toggle-popover",
693
+ "show-popover",
694
+ "hide-popover",
695
+ "close",
696
+ "request-close",
697
+ "show-modal",
698
+ {
699
+ "name": "/^--/",
700
+ "regex": "^--"
701
+ }
702
+ ]
703
+ },
704
+ "commandfor": {
705
+ "enum": [
706
+ {
707
+ "name": "a valid id",
708
+ "regex": "^\\S+$"
709
+ }
710
+ ],
711
+ "reference": "id"
712
+ },
713
+ "datafld": {
714
+ "deprecated": true
715
+ },
716
+ "dataformatas": {
717
+ "deprecated": true
718
+ },
719
+ "datasrc": {
720
+ "deprecated": true
721
+ },
722
+ "disabled": {
723
+ "boolean": true
724
+ },
725
+ "form": {
726
+ "enum": [
727
+ {
728
+ "name": "a valid id",
729
+ "regex": "^\\S+$"
730
+ }
731
+ ],
732
+ "reference": "id"
733
+ },
734
+ "formaction": {
735
+ "allowed": {
736
+ "if-attribute-value": {
737
+ "default": "submit",
738
+ "key": "type",
739
+ "values": [
740
+ "submit"
741
+ ]
742
+ }
743
+ }
744
+ },
745
+ "formenctype": {
746
+ "allowed": {
747
+ "if-attribute-value": {
748
+ "default": "submit",
749
+ "key": "type",
750
+ "values": [
751
+ "submit"
752
+ ]
753
+ }
754
+ }
755
+ },
756
+ "formmethod": {
757
+ "allowed": {
758
+ "if-attribute-value": {
759
+ "default": "submit",
760
+ "key": "type",
761
+ "values": [
762
+ "submit"
763
+ ]
764
+ }
765
+ },
766
+ "enum": [
767
+ "get",
768
+ "post",
769
+ "dialog"
770
+ ]
771
+ },
772
+ "formnovalidate": {
773
+ "allowed": {
774
+ "if-attribute-value": {
775
+ "default": "submit",
776
+ "key": "type",
777
+ "values": [
778
+ "submit"
779
+ ]
780
+ }
781
+ },
782
+ "boolean": true
783
+ },
784
+ "formtarget": {
785
+ "allowed": {
786
+ "if-attribute-value": {
787
+ "default": "submit",
788
+ "key": "type",
789
+ "values": [
790
+ "submit"
791
+ ]
792
+ }
793
+ },
794
+ "enum": [
795
+ {
796
+ "name": "a browsing context name (non-empty string, must not start with `_`)",
797
+ "regex": "^[^_].*$"
798
+ },
799
+ "_blank",
800
+ "_self",
801
+ "_parent",
802
+ "_top"
803
+ ]
804
+ },
805
+ "name": {
806
+ "enum": [
807
+ {
808
+ "name": "a non-empty string",
809
+ "regex": "^.+$"
810
+ }
811
+ ]
812
+ },
813
+ "popovertarget": {
814
+ "enum": [
815
+ {
816
+ "name": "a valid id",
817
+ "regex": "^\\S+$"
818
+ }
819
+ ],
820
+ "reference": "id"
821
+ },
822
+ "popovertargetaction": {
823
+ "enum": [
824
+ "toggle",
825
+ "show",
826
+ "hide"
827
+ ]
828
+ },
829
+ "type": {
830
+ "enum": [
831
+ "submit",
832
+ "reset",
833
+ "button"
834
+ ]
835
+ },
836
+ "value": {}
837
+ },
838
+ "flow": true,
839
+ "focusable": true,
840
+ "formAssociated": {
841
+ "disablable": true,
842
+ "listed": true
843
+ },
844
+ "interactive": true,
845
+ "labelable": true,
846
+ "permittedContent": [
847
+ "@phrasing"
848
+ ],
849
+ "permittedDescendants": [
850
+ {
851
+ "exclude": [
852
+ "@interactive"
853
+ ]
854
+ }
855
+ ],
856
+ "phrasing": true,
857
+ "submitButton": {
858
+ "attr-value": {
859
+ "default": "submit",
860
+ "name": "type",
861
+ "values": [
862
+ "submit"
863
+ ]
864
+ }
865
+ },
866
+ "textContent": "accessible"
867
+ },
868
+ "canvas": {
869
+ "embedded": true,
870
+ "flow": true,
871
+ "phrasing": true,
872
+ "transparent": true
873
+ },
874
+ "caption": {
875
+ "aria": {
876
+ "implicitRole": "caption",
877
+ "naming": "prohibited"
878
+ },
879
+ "attributes": {
880
+ "align": {
881
+ "deprecated": true
882
+ }
883
+ },
884
+ "implicitClosed": [
885
+ "col",
886
+ "colgroup",
887
+ "thead",
888
+ "tfoot",
889
+ "tbody",
890
+ "tr"
891
+ ],
892
+ "optionalEnd": true,
893
+ "permittedContent": [
894
+ "@flow"
895
+ ],
896
+ "permittedDescendants": [
897
+ {
898
+ "exclude": [
899
+ "table"
900
+ ]
901
+ }
902
+ ]
903
+ },
904
+ "center": {
905
+ "deprecated": {
906
+ "message": "use CSS instead",
907
+ "source": "html4"
908
+ }
909
+ },
910
+ "cite": {
911
+ "aria": {
912
+ "naming": "prohibited"
913
+ },
914
+ "flow": true,
915
+ "permittedContent": [
916
+ "@phrasing"
917
+ ],
918
+ "phrasing": true
919
+ },
920
+ "code": {
921
+ "aria": {
922
+ "implicitRole": "code",
923
+ "naming": "prohibited"
924
+ },
925
+ "flow": true,
926
+ "permittedContent": [
927
+ "@phrasing"
928
+ ],
929
+ "phrasing": true
930
+ },
931
+ "col": {
932
+ "aria": {
933
+ "naming": "prohibited"
934
+ },
935
+ "attributes": {
936
+ "align": {
937
+ "deprecated": true
938
+ },
939
+ "char": {
940
+ "deprecated": true
941
+ },
942
+ "charoff": {
943
+ "deprecated": true
944
+ },
945
+ "span": {
946
+ "enum": [
947
+ {
948
+ "name": "a positive integer",
949
+ "regex": "^\\d+$"
950
+ }
951
+ ]
952
+ },
953
+ "valign": {
954
+ "deprecated": true
955
+ },
956
+ "width": {
957
+ "deprecated": true
958
+ }
959
+ },
960
+ "void": true
961
+ },
962
+ "colgroup": {
963
+ "aria": {
964
+ "naming": "prohibited"
965
+ },
966
+ "attributes": {
967
+ "span": {
968
+ "enum": [
969
+ {
970
+ "name": "a positive integer",
971
+ "regex": "^\\d+$"
972
+ }
973
+ ]
974
+ }
975
+ },
976
+ "implicitClosed": [
977
+ "colgroup",
978
+ "caption",
979
+ "thead",
980
+ "tbody",
981
+ "tfoot",
982
+ "tr"
983
+ ],
984
+ "permittedContent": [
985
+ "col",
986
+ "template"
987
+ ]
988
+ },
989
+ "data": {
990
+ "aria": {
991
+ "implicitRole": "generic",
992
+ "naming": "prohibited"
993
+ },
994
+ "attributes": {
995
+ "value": {}
996
+ },
997
+ "flow": true,
998
+ "permittedContent": [
999
+ "@phrasing"
1000
+ ],
1001
+ "phrasing": true
1002
+ },
1003
+ "datalist": {
1004
+ "aria": {
1005
+ "implicitRole": "listbox",
1006
+ "naming": "prohibited"
1007
+ },
1008
+ "flow": true,
1009
+ "permittedContent": [
1010
+ "@phrasing",
1011
+ "option"
1012
+ ],
1013
+ "phrasing": true
1014
+ },
1015
+ "dd": {
1016
+ "implicitClosed": [
1017
+ "dd",
1018
+ "dt"
1019
+ ],
1020
+ "permittedContent": [
1021
+ "@flow"
1022
+ ],
1023
+ "requiredAncestors": [
1024
+ "dl > dd",
1025
+ "dl > div > dd",
1026
+ "template > dd",
1027
+ "template > div > dd"
1028
+ ]
1029
+ },
1030
+ "del": {
1031
+ "aria": {
1032
+ "implicitRole": "deletion",
1033
+ "naming": "prohibited"
1034
+ },
1035
+ "attributes": {
1036
+ "cite": {},
1037
+ "datetime": {}
1038
+ },
1039
+ "flow": true,
1040
+ "phrasing": true,
1041
+ "transparent": true
1042
+ },
1043
+ "details": {
1044
+ "aria": {
1045
+ "implicitRole": "group"
1046
+ },
1047
+ "attributes": {
1048
+ "name": {},
1049
+ "open": {
1050
+ "boolean": true
1051
+ }
1052
+ },
1053
+ "flow": true,
1054
+ "interactive": true,
1055
+ "permittedContent": [
1056
+ "summary",
1057
+ "@flow"
1058
+ ],
1059
+ "permittedOrder": [
1060
+ "summary",
1061
+ "@flow"
1062
+ ],
1063
+ "requiredContent": [
1064
+ "summary"
1065
+ ],
1066
+ "sectioning": true
1067
+ },
1068
+ "dfn": {
1069
+ "aria": {
1070
+ "implicitRole": "term"
1071
+ },
1072
+ "flow": true,
1073
+ "permittedContent": [
1074
+ "@phrasing"
1075
+ ],
1076
+ "permittedDescendants": [
1077
+ {
1078
+ "exclude": [
1079
+ "dfn"
1080
+ ]
1081
+ }
1082
+ ],
1083
+ "phrasing": true
1084
+ },
1085
+ "dialog": {
1086
+ "aria": {
1087
+ "implicitRole": "dialog"
1088
+ },
1089
+ "attributes": {
1090
+ "closedby": {
1091
+ "enum": [
1092
+ "any",
1093
+ "closerequest",
1094
+ "none"
1095
+ ],
1096
+ "omit": true
1097
+ },
1098
+ "open": {
1099
+ "boolean": true
1100
+ }
1101
+ },
1102
+ "flow": true,
1103
+ "permittedContent": [
1104
+ "@flow"
1105
+ ]
1106
+ },
1107
+ "dir": {
1108
+ "deprecated": {
1109
+ "source": "html4"
1110
+ }
1111
+ },
1112
+ "div": {
1113
+ "aria": {
1114
+ "implicitRole": "generic",
1115
+ "naming": "prohibited"
1116
+ },
1117
+ "attributes": {
1118
+ "align": {
1119
+ "deprecated": true
1120
+ },
1121
+ "datafld": {
1122
+ "deprecated": true
1123
+ },
1124
+ "dataformatas": {
1125
+ "deprecated": true
1126
+ },
1127
+ "datasrc": {
1128
+ "deprecated": true
1129
+ }
1130
+ },
1131
+ "flow": true,
1132
+ "permittedContent": [
1133
+ "@flow",
1134
+ "dt",
1135
+ "dd"
1136
+ ]
1137
+ },
1138
+ "dl": {
1139
+ "attributes": {
1140
+ "compact": {
1141
+ "deprecated": true
1142
+ }
1143
+ },
1144
+ "flow": true,
1145
+ "permittedContent": [
1146
+ "@script",
1147
+ "dt",
1148
+ "dd",
1149
+ "div"
1150
+ ]
1151
+ },
1152
+ "dt": {
1153
+ "implicitClosed": [
1154
+ "dd",
1155
+ "dt"
1156
+ ],
1157
+ "permittedContent": [
1158
+ "@flow"
1159
+ ],
1160
+ "permittedDescendants": [
1161
+ {
1162
+ "exclude": [
1163
+ "header",
1164
+ "footer",
1165
+ "@sectioning",
1166
+ "@heading"
1167
+ ]
1168
+ }
1169
+ ],
1170
+ "requiredAncestors": [
1171
+ "dl > dt",
1172
+ "dl > div > dt",
1173
+ "template > dt",
1174
+ "template > div > dt"
1175
+ ]
1176
+ },
1177
+ "em": {
1178
+ "aria": {
1179
+ "implicitRole": "emphasis",
1180
+ "naming": "prohibited"
1181
+ },
1182
+ "flow": true,
1183
+ "permittedContent": [
1184
+ "@phrasing"
1185
+ ],
1186
+ "phrasing": true
1187
+ },
1188
+ "embed": {
1189
+ "attributes": {
1190
+ "height": {
1191
+ "enum": [
1192
+ {
1193
+ "name": "a positive integer",
1194
+ "regex": "^\\d+$"
1195
+ }
1196
+ ]
1197
+ },
1198
+ "src": {
1199
+ "enum": [
1200
+ {
1201
+ "name": "a non-empty string",
1202
+ "regex": "^.+$"
1203
+ }
1204
+ ],
1205
+ "required": true
1206
+ },
1207
+ "title": {
1208
+ "required": true
1209
+ },
1210
+ "width": {
1211
+ "enum": [
1212
+ {
1213
+ "name": "a positive integer",
1214
+ "regex": "^\\d+$"
1215
+ }
1216
+ ]
1217
+ }
1218
+ },
1219
+ "embedded": true,
1220
+ "flow": true,
1221
+ "interactive": true,
1222
+ "phrasing": true,
1223
+ "void": true
1224
+ },
1225
+ "fieldset": {
1226
+ "aria": {
1227
+ "implicitRole": "group"
1228
+ },
1229
+ "attributes": {
1230
+ "datafld": {
1231
+ "deprecated": true
1232
+ },
1233
+ "disabled": {
1234
+ "boolean": true
1235
+ },
1236
+ "form": {
1237
+ "enum": [
1238
+ {
1239
+ "name": "a valid id",
1240
+ "regex": "^\\S+$"
1241
+ }
1242
+ ],
1243
+ "reference": "id"
1244
+ },
1245
+ "name": {
1246
+ "enum": [
1247
+ {
1248
+ "name": "a non-empty string",
1249
+ "regex": "^.+$"
1250
+ }
1251
+ ]
1252
+ }
1253
+ },
1254
+ "flow": true,
1255
+ "formAssociated": {
1256
+ "disablable": true,
1257
+ "listed": true
1258
+ },
1259
+ "permittedContent": [
1260
+ "@flow",
1261
+ "legend?"
1262
+ ],
1263
+ "permittedOrder": [
1264
+ "legend",
1265
+ "@flow"
1266
+ ]
1267
+ },
1268
+ "figcaption": {
1269
+ "aria": {
1270
+ "naming": "prohibited"
1271
+ },
1272
+ "permittedContent": [
1273
+ "@flow"
1274
+ ]
1275
+ },
1276
+ "figure": {
1277
+ "aria": {
1278
+ "implicitRole": "figure"
1279
+ },
1280
+ "flow": true,
1281
+ "permittedContent": [
1282
+ "@flow",
1283
+ "figcaption?"
1284
+ ],
1285
+ "permittedOrder": [
1286
+ "figcaption",
1287
+ "@flow",
1288
+ "figcaption"
1289
+ ]
1290
+ },
1291
+ "font": {
1292
+ "deprecated": {
1293
+ "message": "use CSS instead",
1294
+ "source": "html4"
1295
+ }
1296
+ },
1297
+ "footer": {
1298
+ "aria": {
1299
+ "implicitRole": {
1300
+ "else": "contentinfo",
1301
+ "if": {
1302
+ "ancestor": [
1303
+ "article",
1304
+ "aside",
1305
+ "main",
1306
+ "nav",
1307
+ "section",
1308
+ "[role=\"article\"]",
1309
+ "[role=\"complementary\"]",
1310
+ "[role=\"main\"]",
1311
+ "[role=\"navigation\"]",
1312
+ "[role=\"region\"]"
1313
+ ]
1314
+ },
1315
+ "then": "generic"
1316
+ },
1317
+ "naming": {
1318
+ "else": "allowed",
1319
+ "if": {
1320
+ "ancestor": [
1321
+ "article",
1322
+ "aside",
1323
+ "main",
1324
+ "nav",
1325
+ "section",
1326
+ "[role=\"article\"]",
1327
+ "[role=\"complementary\"]",
1328
+ "[role=\"main\"]",
1329
+ "[role=\"navigation\"]",
1330
+ "[role=\"region\"]"
1331
+ ]
1332
+ },
1333
+ "then": "prohibited"
1334
+ }
1335
+ },
1336
+ "flow": true,
1337
+ "permittedContent": [
1338
+ "@flow"
1339
+ ],
1340
+ "permittedDescendants": [
1341
+ {
1342
+ "exclude": [
1343
+ "header",
1344
+ "footer",
1345
+ "main"
1346
+ ]
1347
+ }
1348
+ ]
1349
+ },
1350
+ "form": {
1351
+ "aria": {
1352
+ "implicitRole": "form"
1353
+ },
1354
+ "attributes": {
1355
+ "accept": {
1356
+ "deprecated": true
1357
+ },
1358
+ "accept-charset": {},
1359
+ "action": {
1360
+ "enum": [
1361
+ {
1362
+ "name": "/^\\s*\\S+\\s*$/",
1363
+ "regex": "^\\s*\\S+\\s*$"
1364
+ }
1365
+ ]
1366
+ },
1367
+ "autocomplete": {
1368
+ "enum": [
1369
+ "on",
1370
+ "off"
1371
+ ]
1372
+ },
1373
+ "enctype": {
1374
+ "enum": [
1375
+ "application/x-www-form-urlencoded",
1376
+ "multipart/form-data",
1377
+ "text/plain"
1378
+ ]
1379
+ },
1380
+ "method": {
1381
+ "enum": [
1382
+ "get",
1383
+ "post",
1384
+ "dialog"
1385
+ ]
1386
+ },
1387
+ "name": {},
1388
+ "novalidate": {
1389
+ "boolean": true
1390
+ },
1391
+ "rel": {
1392
+ "allowed": {
1393
+ "rel-disallowed": [
1394
+ "alternate",
1395
+ "canonical",
1396
+ "author",
1397
+ "bookmark",
1398
+ "dns-prefetch",
1399
+ "expect",
1400
+ "icon",
1401
+ "manifest",
1402
+ "modulepreload",
1403
+ "pingback",
1404
+ "preconnect",
1405
+ "prefetch",
1406
+ "preload",
1407
+ "privacy-policy",
1408
+ "stylesheet",
1409
+ "tag",
1410
+ "terms-of-service"
1411
+ ]
1412
+ },
1413
+ "enum": [
1414
+ {
1415
+ "name": "a non-empty string",
1416
+ "regex": "^.+$"
1417
+ }
1418
+ ],
1419
+ "list": true
1420
+ },
1421
+ "target": {
1422
+ "enum": [
1423
+ {
1424
+ "name": "a browsing context name (non-empty string, must not start with `_`)",
1425
+ "regex": "^[^_].*$"
1426
+ },
1427
+ "_blank",
1428
+ "_self",
1429
+ "_parent",
1430
+ "_top"
1431
+ ]
1432
+ }
1433
+ },
1434
+ "flow": true,
1435
+ "form": true,
1436
+ "permittedContent": [
1437
+ "@flow"
1438
+ ],
1439
+ "permittedDescendants": [
1440
+ {
1441
+ "exclude": [
1442
+ "@form"
1443
+ ]
1444
+ }
1445
+ ]
1446
+ },
1447
+ "frame": {
1448
+ "attributes": {
1449
+ "datafld": {
1450
+ "deprecated": true
1451
+ },
1452
+ "datasrc": {
1453
+ "deprecated": true
1454
+ },
1455
+ "title": {
1456
+ "required": true
1457
+ }
1458
+ },
1459
+ "deprecated": {
1460
+ "source": "html5"
1461
+ }
1462
+ },
1463
+ "frameset": {
1464
+ "deprecated": {
1465
+ "source": "html5"
1466
+ }
1467
+ },
1468
+ "h1": {
1469
+ "aria": {
1470
+ "implicitRole": "heading"
1471
+ },
1472
+ "attributes": {
1473
+ "align": {
1474
+ "deprecated": true
1475
+ }
1476
+ },
1477
+ "flow": true,
1478
+ "heading": true,
1479
+ "permittedContent": [
1480
+ "@phrasing"
1481
+ ]
1482
+ },
1483
+ "h2": {
1484
+ "aria": {
1485
+ "implicitRole": "heading"
1486
+ },
1487
+ "attributes": {
1488
+ "align": {
1489
+ "deprecated": true
1490
+ }
1491
+ },
1492
+ "flow": true,
1493
+ "heading": true,
1494
+ "permittedContent": [
1495
+ "@phrasing"
1496
+ ]
1497
+ },
1498
+ "h3": {
1499
+ "aria": {
1500
+ "implicitRole": "heading"
1501
+ },
1502
+ "attributes": {
1503
+ "align": {
1504
+ "deprecated": true
1505
+ }
1506
+ },
1507
+ "flow": true,
1508
+ "heading": true,
1509
+ "permittedContent": [
1510
+ "@phrasing"
1511
+ ]
1512
+ },
1513
+ "h4": {
1514
+ "aria": {
1515
+ "implicitRole": "heading"
1516
+ },
1517
+ "attributes": {
1518
+ "align": {
1519
+ "deprecated": true
1520
+ }
1521
+ },
1522
+ "flow": true,
1523
+ "heading": true,
1524
+ "permittedContent": [
1525
+ "@phrasing"
1526
+ ]
1527
+ },
1528
+ "h5": {
1529
+ "aria": {
1530
+ "implicitRole": "heading"
1531
+ },
1532
+ "attributes": {
1533
+ "align": {
1534
+ "deprecated": true
1535
+ }
1536
+ },
1537
+ "flow": true,
1538
+ "heading": true,
1539
+ "permittedContent": [
1540
+ "@phrasing"
1541
+ ]
1542
+ },
1543
+ "h6": {
1544
+ "aria": {
1545
+ "implicitRole": "heading"
1546
+ },
1547
+ "attributes": {
1548
+ "align": {
1549
+ "deprecated": true
1550
+ }
1551
+ },
1552
+ "flow": true,
1553
+ "heading": true,
1554
+ "permittedContent": [
1555
+ "@phrasing"
1556
+ ]
1557
+ },
1558
+ "head": {
1559
+ "aria": {
1560
+ "naming": "prohibited"
1561
+ },
1562
+ "attributes": {
1563
+ "profile": {
1564
+ "deprecated": true
1565
+ }
1566
+ },
1567
+ "implicitClosed": [
1568
+ "body",
1569
+ "@flow-not-meta"
1570
+ ],
1571
+ "optionalEnd": true,
1572
+ "permittedContent": [
1573
+ "base?",
1574
+ "title?",
1575
+ "@meta"
1576
+ ],
1577
+ "permittedParent": [
1578
+ "html"
1579
+ ],
1580
+ "requiredContent": [
1581
+ "title"
1582
+ ]
1583
+ },
1584
+ "header": {
1585
+ "aria": {
1586
+ "implicitRole": {
1587
+ "else": "banner",
1588
+ "if": {
1589
+ "ancestor": [
1590
+ "article",
1591
+ "aside",
1592
+ "main",
1593
+ "nav",
1594
+ "section",
1595
+ "[role=\"article\"]",
1596
+ "[role=\"complementary\"]",
1597
+ "[role=\"main\"]",
1598
+ "[role=\"navigation\"]",
1599
+ "[role=\"region\"]"
1600
+ ]
1601
+ },
1602
+ "then": "generic"
1603
+ },
1604
+ "naming": {
1605
+ "else": "allowed",
1606
+ "if": {
1607
+ "ancestor": [
1608
+ "article",
1609
+ "aside",
1610
+ "main",
1611
+ "nav",
1612
+ "section",
1613
+ "[role=\"article\"]",
1614
+ "[role=\"complementary\"]",
1615
+ "[role=\"main\"]",
1616
+ "[role=\"navigation\"]",
1617
+ "[role=\"region\"]"
1618
+ ]
1619
+ },
1620
+ "then": "prohibited"
1621
+ }
1622
+ },
1623
+ "flow": true,
1624
+ "permittedContent": [
1625
+ "@flow"
1626
+ ],
1627
+ "permittedDescendants": [
1628
+ {
1629
+ "exclude": [
1630
+ "header",
1631
+ "footer",
1632
+ "main"
1633
+ ]
1634
+ }
1635
+ ]
1636
+ },
1637
+ "hgroup": {
1638
+ "aria": {
1639
+ "implicitRole": "group"
1640
+ },
1641
+ "flow": true,
1642
+ "heading": true,
1643
+ "permittedContent": [
1644
+ "p",
1645
+ "@heading?"
1646
+ ],
1647
+ "permittedDescendants": [
1648
+ {
1649
+ "exclude": [
1650
+ "hgroup"
1651
+ ]
1652
+ }
1653
+ ],
1654
+ "requiredContent": [
1655
+ "@heading"
1656
+ ]
1657
+ },
1658
+ "hr": {
1659
+ "aria": {
1660
+ "implicitRole": "separator"
1661
+ },
1662
+ "attributes": {
1663
+ "align": {
1664
+ "deprecated": true
1665
+ },
1666
+ "color": {
1667
+ "deprecated": true
1668
+ },
1669
+ "noshade": {
1670
+ "deprecated": true
1671
+ },
1672
+ "size": {
1673
+ "deprecated": true
1674
+ },
1675
+ "width": {
1676
+ "deprecated": true
1677
+ }
1678
+ },
1679
+ "flow": true,
1680
+ "void": true
1681
+ },
1682
+ "html": {
1683
+ "aria": {
1684
+ "implicitRole": "generic",
1685
+ "naming": "prohibited"
1686
+ },
1687
+ "attributes": {
1688
+ "lang": {
1689
+ "required": true
1690
+ },
1691
+ "version": {
1692
+ "deprecated": true
1693
+ }
1694
+ },
1695
+ "implicitOpen": [
1696
+ {
1697
+ "for": [
1698
+ "@meta"
1699
+ ],
1700
+ "open": "head"
1701
+ },
1702
+ {
1703
+ "for": [
1704
+ "@flow-not-meta"
1705
+ ],
1706
+ "open": "body"
1707
+ }
1708
+ ],
1709
+ "optionalEnd": true,
1710
+ "permittedContent": [
1711
+ "head?",
1712
+ "body?"
1713
+ ],
1714
+ "permittedOrder": [
1715
+ "head",
1716
+ "body"
1717
+ ],
1718
+ "requiredContent": [
1719
+ "head",
1720
+ "body"
1721
+ ]
1722
+ },
1723
+ "i": {
1724
+ "aria": {
1725
+ "implicitRole": "generic",
1726
+ "naming": "prohibited"
1727
+ },
1728
+ "flow": true,
1729
+ "permittedContent": [
1730
+ "@phrasing"
1731
+ ],
1732
+ "phrasing": true
1733
+ },
1734
+ "iframe": {
1735
+ "attributes": {
1736
+ "align": {
1737
+ "deprecated": true
1738
+ },
1739
+ "allowtransparency": {
1740
+ "deprecated": true
1741
+ },
1742
+ "datafld": {
1743
+ "deprecated": true
1744
+ },
1745
+ "datasrc": {
1746
+ "deprecated": true
1747
+ },
1748
+ "frameborder": {
1749
+ "deprecated": true
1750
+ },
1751
+ "height": {
1752
+ "enum": [
1753
+ {
1754
+ "name": "a positive integer",
1755
+ "regex": "^\\d+$"
1756
+ }
1757
+ ]
1758
+ },
1759
+ "hspace": {
1760
+ "deprecated": true
1761
+ },
1762
+ "marginheight": {
1763
+ "deprecated": true
1764
+ },
1765
+ "marginwidth": {
1766
+ "deprecated": true
1767
+ },
1768
+ "referrerpolicy": {
1769
+ "enum": [
1770
+ "",
1771
+ "no-referrer",
1772
+ "no-referrer-when-downgrade",
1773
+ "same-origin",
1774
+ "origin",
1775
+ "strict-origin",
1776
+ "origin-when-cross-origin",
1777
+ "strict-origin-when-cross-origin",
1778
+ "unsafe-url"
1779
+ ]
1780
+ },
1781
+ "scrolling": {
1782
+ "deprecated": true
1783
+ },
1784
+ "src": {
1785
+ "enum": [
1786
+ {
1787
+ "name": "a non-empty string",
1788
+ "regex": "^.+$"
1789
+ }
1790
+ ]
1791
+ },
1792
+ "title": {
1793
+ "required": true
1794
+ },
1795
+ "vspace": {
1796
+ "deprecated": true
1797
+ },
1798
+ "width": {
1799
+ "enum": [
1800
+ {
1801
+ "name": "a positive integer",
1802
+ "regex": "^\\d+$"
1803
+ }
1804
+ ]
1805
+ }
1806
+ },
1807
+ "embedded": true,
1808
+ "flow": true,
1809
+ "interactive": true,
1810
+ "permittedContent": [],
1811
+ "phrasing": true
1812
+ },
1813
+ "img": {
1814
+ "aria": {
1815
+ "implicitRole": {
1816
+ "else": "img",
1817
+ "if": {
1818
+ "all": [
1819
+ {
1820
+ "attr-value": {
1821
+ "name": "alt",
1822
+ "values": [
1823
+ ""
1824
+ ]
1825
+ }
1826
+ },
1827
+ {
1828
+ "not": {
1829
+ "attr": "aria-label"
1830
+ }
1831
+ },
1832
+ {
1833
+ "not": {
1834
+ "attr": "aria-labelledby"
1835
+ }
1836
+ },
1837
+ {
1838
+ "not": {
1839
+ "attr": "title"
1840
+ }
1841
+ }
1842
+ ]
1843
+ },
1844
+ "then": "none"
1845
+ },
1846
+ "naming": {
1847
+ "else": "prohibited",
1848
+ "if": {
1849
+ "any": [
1850
+ {
1851
+ "attr-nonempty": "alt"
1852
+ },
1853
+ {
1854
+ "attr": "aria-label"
1855
+ },
1856
+ {
1857
+ "attr": "aria-labelledby"
1858
+ },
1859
+ {
1860
+ "attr": "title"
1861
+ }
1862
+ ]
1863
+ },
1864
+ "then": "allowed"
1865
+ }
1866
+ },
1867
+ "attributes": {
1868
+ "align": {
1869
+ "deprecated": true
1870
+ },
1871
+ "alt": {},
1872
+ "border": {
1873
+ "deprecated": true
1874
+ },
1875
+ "crossorigin": {
1876
+ "enum": [
1877
+ "anonymous",
1878
+ "use-credentials"
1879
+ ],
1880
+ "omit": true
1881
+ },
1882
+ "datafld": {
1883
+ "deprecated": true
1884
+ },
1885
+ "datasrc": {
1886
+ "deprecated": true
1887
+ },
1888
+ "decoding": {
1889
+ "enum": [
1890
+ "sync",
1891
+ "async",
1892
+ "auto"
1893
+ ]
1894
+ },
1895
+ "fetchpriority": {
1896
+ "enum": [
1897
+ "high",
1898
+ "low",
1899
+ "auto"
1900
+ ],
1901
+ "omit": true
1902
+ },
1903
+ "height": {
1904
+ "enum": [
1905
+ {
1906
+ "name": "a positive integer",
1907
+ "regex": "^\\d+$"
1908
+ }
1909
+ ]
1910
+ },
1911
+ "hspace": {
1912
+ "deprecated": true
1913
+ },
1914
+ "ismap": {
1915
+ "boolean": true
1916
+ },
1917
+ "loading": {
1918
+ "enum": [
1919
+ "lazy",
1920
+ "eager"
1921
+ ],
1922
+ "omit": true
1923
+ },
1924
+ "lowsrc": {
1925
+ "deprecated": true
1926
+ },
1927
+ "name": {
1928
+ "deprecated": true
1929
+ },
1930
+ "referrerpolicy": {
1931
+ "enum": [
1932
+ "",
1933
+ "no-referrer",
1934
+ "no-referrer-when-downgrade",
1935
+ "same-origin",
1936
+ "origin",
1937
+ "strict-origin",
1938
+ "origin-when-cross-origin",
1939
+ "strict-origin-when-cross-origin",
1940
+ "unsafe-url"
1941
+ ]
1942
+ },
1943
+ "sizes": {},
1944
+ "src": {
1945
+ "enum": [
1946
+ {
1947
+ "name": "a non-empty string",
1948
+ "regex": "^.+$"
1949
+ }
1950
+ ],
1951
+ "required": true
1952
+ },
1953
+ "srcset": {
1954
+ "enum": [
1955
+ {
1956
+ "name": "/[^]+/",
1957
+ "regex": "^(?s:.)+$"
1958
+ }
1959
+ ]
1960
+ },
1961
+ "usemap": {},
1962
+ "vspace": {
1963
+ "deprecated": true
1964
+ },
1965
+ "width": {
1966
+ "enum": [
1967
+ {
1968
+ "name": "a positive integer",
1969
+ "regex": "^\\d+$"
1970
+ }
1971
+ ]
1972
+ }
1973
+ },
1974
+ "embedded": true,
1975
+ "flow": true,
1976
+ "interactive": {
1977
+ "attr": "usemap"
1978
+ },
1979
+ "phrasing": true,
1980
+ "void": true
1981
+ },
1982
+ "input": {
1983
+ "aria": {
1984
+ "implicitRole": {
1985
+ "else": {
1986
+ "cases": {
1987
+ "button": "button",
1988
+ "checkbox": "checkbox",
1989
+ "color": null,
1990
+ "date": null,
1991
+ "datetime-local": null,
1992
+ "email": "textbox",
1993
+ "file": null,
1994
+ "hidden": null,
1995
+ "image": "button",
1996
+ "month": null,
1997
+ "number": "spinbutton",
1998
+ "password": null,
1999
+ "radio": "radio",
2000
+ "range": "slider",
2001
+ "reset": "button",
2002
+ "search": "searchbox",
2003
+ "submit": "button",
2004
+ "tel": "textbox",
2005
+ "text": "textbox",
2006
+ "time": null,
2007
+ "url": "textbox",
2008
+ "week": null
2009
+ },
2010
+ "default": "textbox",
2011
+ "switch": "type"
2012
+ },
2013
+ "if": {
2014
+ "attr": "list"
2015
+ },
2016
+ "then": "combobox"
2017
+ },
2018
+ "naming": {
2019
+ "else": "prohibited",
2020
+ "if": {
2021
+ "not": {
2022
+ "attr-value": {
2023
+ "name": "type",
2024
+ "values": [
2025
+ "hidden"
2026
+ ]
2027
+ }
2028
+ }
2029
+ },
2030
+ "then": "allowed"
2031
+ }
2032
+ },
2033
+ "attributes": {
2034
+ "accept": {},
2035
+ "align": {
2036
+ "deprecated": true
2037
+ },
2038
+ "alpha": {
2039
+ "boolean": true
2040
+ },
2041
+ "alt": {},
2042
+ "autocapitalize": {
2043
+ "enum": [
2044
+ "off",
2045
+ "none",
2046
+ "on",
2047
+ "sentences",
2048
+ "words",
2049
+ "characters"
2050
+ ]
2051
+ },
2052
+ "autocomplete": {},
2053
+ "autofocus": {
2054
+ "boolean": true
2055
+ },
2056
+ "capture": {
2057
+ "enum": [
2058
+ "environment",
2059
+ "user"
2060
+ ],
2061
+ "omit": true
2062
+ },
2063
+ "checked": {
2064
+ "boolean": true
2065
+ },
2066
+ "colorspace": {
2067
+ "enum": [
2068
+ "limited-srgb",
2069
+ "display-p3"
2070
+ ]
2071
+ },
2072
+ "datafld": {
2073
+ "deprecated": true
2074
+ },
2075
+ "dataformatas": {
2076
+ "deprecated": true
2077
+ },
2078
+ "datasrc": {
2079
+ "deprecated": true
2080
+ },
2081
+ "dirname": {},
2082
+ "disabled": {
2083
+ "boolean": true
2084
+ },
2085
+ "form": {
2086
+ "enum": [
2087
+ {
2088
+ "name": "a valid id",
2089
+ "regex": "^\\S+$"
2090
+ }
2091
+ ],
2092
+ "reference": "id"
2093
+ },
2094
+ "formaction": {
2095
+ "allowed": {
2096
+ "if-attribute-value": {
2097
+ "default": "submit",
2098
+ "key": "type",
2099
+ "values": [
2100
+ "submit",
2101
+ "image"
2102
+ ]
2103
+ }
2104
+ }
2105
+ },
2106
+ "formenctype": {
2107
+ "allowed": {
2108
+ "if-attribute-value": {
2109
+ "default": "submit",
2110
+ "key": "type",
2111
+ "values": [
2112
+ "submit",
2113
+ "image"
2114
+ ]
2115
+ }
2116
+ }
2117
+ },
2118
+ "formmethod": {
2119
+ "allowed": {
2120
+ "if-attribute-value": {
2121
+ "default": "submit",
2122
+ "key": "type",
2123
+ "values": [
2124
+ "submit",
2125
+ "image"
2126
+ ]
2127
+ }
2128
+ },
2129
+ "enum": [
2130
+ "get",
2131
+ "post",
2132
+ "dialog"
2133
+ ]
2134
+ },
2135
+ "formnovalidate": {
2136
+ "allowed": {
2137
+ "if-attribute-value": {
2138
+ "default": "submit",
2139
+ "key": "type",
2140
+ "values": [
2141
+ "submit",
2142
+ "image"
2143
+ ]
2144
+ }
2145
+ },
2146
+ "boolean": true
2147
+ },
2148
+ "formtarget": {
2149
+ "allowed": {
2150
+ "if-attribute-value": {
2151
+ "default": "submit",
2152
+ "key": "type",
2153
+ "values": [
2154
+ "submit",
2155
+ "image"
2156
+ ]
2157
+ }
2158
+ },
2159
+ "enum": [
2160
+ {
2161
+ "name": "a browsing context name (non-empty string, must not start with `_`)",
2162
+ "regex": "^[^_].*$"
2163
+ },
2164
+ "_blank",
2165
+ "_self",
2166
+ "_parent",
2167
+ "_top"
2168
+ ]
2169
+ },
2170
+ "height": {
2171
+ "enum": [
2172
+ {
2173
+ "name": "a positive integer",
2174
+ "regex": "^\\d+$"
2175
+ }
2176
+ ]
2177
+ },
2178
+ "hspace": {
2179
+ "deprecated": true
2180
+ },
2181
+ "inputmode": {
2182
+ "enum": [
2183
+ "none",
2184
+ "text",
2185
+ "decimal",
2186
+ "numeric",
2187
+ "tel",
2188
+ "search",
2189
+ "email",
2190
+ "url"
2191
+ ]
2192
+ },
2193
+ "ismap": {
2194
+ "deprecated": true
2195
+ },
2196
+ "list": {
2197
+ "enum": [
2198
+ {
2199
+ "name": "a valid id",
2200
+ "regex": "^\\S+$"
2201
+ }
2202
+ ],
2203
+ "reference": "id"
2204
+ },
2205
+ "max": {
2206
+ "enum": [
2207
+ {
2208
+ "name": "a non-empty string",
2209
+ "regex": "^.+$"
2210
+ }
2211
+ ]
2212
+ },
2213
+ "maxlength": {
2214
+ "enum": [
2215
+ {
2216
+ "name": "a positive integer",
2217
+ "regex": "^\\d+$"
2218
+ }
2219
+ ]
2220
+ },
2221
+ "min": {
2222
+ "enum": [
2223
+ {
2224
+ "name": "a non-empty string",
2225
+ "regex": "^.+$"
2226
+ }
2227
+ ]
2228
+ },
2229
+ "minlength": {
2230
+ "enum": [
2231
+ {
2232
+ "name": "a positive integer",
2233
+ "regex": "^\\d+$"
2234
+ }
2235
+ ]
2236
+ },
2237
+ "multiple": {
2238
+ "boolean": true
2239
+ },
2240
+ "name": {
2241
+ "enum": [
2242
+ {
2243
+ "name": "a non-empty string",
2244
+ "regex": "^.+$"
2245
+ }
2246
+ ]
2247
+ },
2248
+ "pattern": {},
2249
+ "placeholder": {},
2250
+ "popovertarget": {
2251
+ "enum": [
2252
+ {
2253
+ "name": "a valid id",
2254
+ "regex": "^\\S+$"
2255
+ }
2256
+ ],
2257
+ "reference": "id"
2258
+ },
2259
+ "popovertargetaction": {
2260
+ "enum": [
2261
+ "toggle",
2262
+ "show",
2263
+ "hide"
2264
+ ]
2265
+ },
2266
+ "readonly": {
2267
+ "boolean": true
2268
+ },
2269
+ "required": {
2270
+ "boolean": true
2271
+ },
2272
+ "size": {
2273
+ "enum": [
2274
+ {
2275
+ "name": "a positive integer",
2276
+ "regex": "^\\d+$"
2277
+ }
2278
+ ]
2279
+ },
2280
+ "src": {
2281
+ "enum": [
2282
+ {
2283
+ "name": "a non-empty string",
2284
+ "regex": "^.+$"
2285
+ }
2286
+ ]
2287
+ },
2288
+ "step": {},
2289
+ "type": {
2290
+ "enum": [
2291
+ "button",
2292
+ "checkbox",
2293
+ "color",
2294
+ "date",
2295
+ "datetime-local",
2296
+ "email",
2297
+ "file",
2298
+ "hidden",
2299
+ "image",
2300
+ "month",
2301
+ "number",
2302
+ "password",
2303
+ "radio",
2304
+ "range",
2305
+ "reset",
2306
+ "search",
2307
+ "submit",
2308
+ "tel",
2309
+ "text",
2310
+ "time",
2311
+ "url",
2312
+ "week"
2313
+ ]
2314
+ },
2315
+ "usemap": {
2316
+ "deprecated": true
2317
+ },
2318
+ "value": {},
2319
+ "vspace": {
2320
+ "deprecated": true
2321
+ },
2322
+ "width": {
2323
+ "enum": [
2324
+ {
2325
+ "name": "a positive integer",
2326
+ "regex": "^\\d+$"
2327
+ }
2328
+ ]
2329
+ }
2330
+ },
2331
+ "flow": true,
2332
+ "focusable": {
2333
+ "not": {
2334
+ "attr-value": {
2335
+ "name": "type",
2336
+ "values": [
2337
+ "hidden"
2338
+ ]
2339
+ }
2340
+ }
2341
+ },
2342
+ "formAssociated": {
2343
+ "disablable": true,
2344
+ "listed": true
2345
+ },
2346
+ "interactive": {
2347
+ "not": {
2348
+ "attr-value": {
2349
+ "name": "type",
2350
+ "values": [
2351
+ "hidden"
2352
+ ]
2353
+ }
2354
+ }
2355
+ },
2356
+ "labelable": {
2357
+ "not": {
2358
+ "attr-value": {
2359
+ "name": "type",
2360
+ "values": [
2361
+ "hidden"
2362
+ ]
2363
+ }
2364
+ }
2365
+ },
2366
+ "phrasing": true,
2367
+ "submitButton": {
2368
+ "attr-value": {
2369
+ "name": "type",
2370
+ "values": [
2371
+ "submit",
2372
+ "image"
2373
+ ]
2374
+ }
2375
+ },
2376
+ "void": true
2377
+ },
2378
+ "ins": {
2379
+ "aria": {
2380
+ "implicitRole": "insertion",
2381
+ "naming": "prohibited"
2382
+ },
2383
+ "attributes": {
2384
+ "cite": {},
2385
+ "datetime": {}
2386
+ },
2387
+ "flow": true,
2388
+ "phrasing": true,
2389
+ "transparent": true
2390
+ },
2391
+ "isindex": {
2392
+ "deprecated": {
2393
+ "source": "html4"
2394
+ }
2395
+ },
2396
+ "kbd": {
2397
+ "aria": {
2398
+ "naming": "prohibited"
2399
+ },
2400
+ "flow": true,
2401
+ "permittedContent": [
2402
+ "@phrasing"
2403
+ ],
2404
+ "phrasing": true
2405
+ },
2406
+ "keygen": {
2407
+ "deprecated": true,
2408
+ "flow": true,
2409
+ "interactive": true,
2410
+ "labelable": true,
2411
+ "phrasing": true,
2412
+ "void": true
2413
+ },
2414
+ "label": {
2415
+ "aria": {
2416
+ "naming": "prohibited"
2417
+ },
2418
+ "attributes": {
2419
+ "datafld": {
2420
+ "deprecated": true
2421
+ },
2422
+ "dataformatas": {
2423
+ "deprecated": true
2424
+ },
2425
+ "datasrc": {
2426
+ "deprecated": true
2427
+ },
2428
+ "for": {
2429
+ "enum": [
2430
+ {
2431
+ "name": "a valid id",
2432
+ "regex": "^\\S+$"
2433
+ }
2434
+ ],
2435
+ "reference": "id"
2436
+ }
2437
+ },
2438
+ "flow": true,
2439
+ "interactive": true,
2440
+ "permittedContent": [
2441
+ "@phrasing"
2442
+ ],
2443
+ "permittedDescendants": [
2444
+ {
2445
+ "exclude": [
2446
+ "label"
2447
+ ]
2448
+ }
2449
+ ],
2450
+ "phrasing": true
2451
+ },
2452
+ "legend": {
2453
+ "aria": {
2454
+ "naming": "prohibited"
2455
+ },
2456
+ "attributes": {
2457
+ "align": {
2458
+ "deprecated": true
2459
+ },
2460
+ "datafld": {
2461
+ "deprecated": true
2462
+ },
2463
+ "dataformatas": {
2464
+ "deprecated": true
2465
+ },
2466
+ "datasrc": {
2467
+ "deprecated": true
2468
+ }
2469
+ },
2470
+ "permittedContent": [
2471
+ "@phrasing",
2472
+ "@heading"
2473
+ ]
2474
+ },
2475
+ "li": {
2476
+ "aria": {
2477
+ "implicitRole": {
2478
+ "else": "generic",
2479
+ "if": {
2480
+ "ancestor": [
2481
+ "ul",
2482
+ "ol",
2483
+ "menu"
2484
+ ]
2485
+ },
2486
+ "then": "listitem"
2487
+ }
2488
+ },
2489
+ "attributes": {
2490
+ "type": {
2491
+ "deprecated": true
2492
+ },
2493
+ "value": {
2494
+ "enum": [
2495
+ {
2496
+ "name": "/-?\\d+/",
2497
+ "regex": "^-?\\d+$"
2498
+ }
2499
+ ]
2500
+ }
2501
+ },
2502
+ "implicitClosed": [
2503
+ "li"
2504
+ ],
2505
+ "permittedContent": [
2506
+ "@flow"
2507
+ ],
2508
+ "permittedParent": [
2509
+ "ul",
2510
+ "ol",
2511
+ "menu",
2512
+ "template"
2513
+ ]
2514
+ },
2515
+ "link": {
2516
+ "aria": {
2517
+ "naming": "prohibited"
2518
+ },
2519
+ "attributes": {
2520
+ "as": {
2521
+ "allowed": {
2522
+ "if-attribute-value": {
2523
+ "default": null,
2524
+ "key": "rel",
2525
+ "values": [
2526
+ "prefetch",
2527
+ "preload",
2528
+ "modulepreload"
2529
+ ]
2530
+ }
2531
+ },
2532
+ "enum": [
2533
+ "audio",
2534
+ "audioworklet",
2535
+ "document",
2536
+ "embed",
2537
+ "fetch",
2538
+ "font",
2539
+ "frame",
2540
+ "iframe",
2541
+ "image",
2542
+ "manifest",
2543
+ "object",
2544
+ "paintworklet",
2545
+ "report",
2546
+ "script",
2547
+ "serviceworker",
2548
+ "sharedworker",
2549
+ "style",
2550
+ "track",
2551
+ "video",
2552
+ "webidentity",
2553
+ "worker",
2554
+ "xslt"
2555
+ ]
2556
+ },
2557
+ "blocking": {
2558
+ "allowed": {
2559
+ "if-attribute-value": {
2560
+ "default": null,
2561
+ "key": "rel",
2562
+ "values": [
2563
+ "expect",
2564
+ "stylesheet"
2565
+ ]
2566
+ }
2567
+ },
2568
+ "enum": [
2569
+ "render"
2570
+ ],
2571
+ "list": true
2572
+ },
2573
+ "charset": {
2574
+ "deprecated": true
2575
+ },
2576
+ "color": {},
2577
+ "crossorigin": {
2578
+ "enum": [
2579
+ "anonymous",
2580
+ "use-credentials"
2581
+ ],
2582
+ "omit": true
2583
+ },
2584
+ "disabled": {
2585
+ "allowed": {
2586
+ "if-attribute-value": {
2587
+ "default": null,
2588
+ "key": "rel",
2589
+ "values": [
2590
+ "stylesheet"
2591
+ ]
2592
+ }
2593
+ },
2594
+ "boolean": true
2595
+ },
2596
+ "fetchpriority": {
2597
+ "enum": [
2598
+ "high",
2599
+ "low",
2600
+ "auto"
2601
+ ]
2602
+ },
2603
+ "href": {
2604
+ "enum": [
2605
+ {
2606
+ "name": "a non-empty string",
2607
+ "regex": "^.+$"
2608
+ }
2609
+ ],
2610
+ "required": {
2611
+ "not": {
2612
+ "attr": "imagesrcset"
2613
+ }
2614
+ }
2615
+ },
2616
+ "hreflang": {},
2617
+ "imagesizes": {
2618
+ "allowed": {
2619
+ "link-image-preload": true
2620
+ },
2621
+ "required": {
2622
+ "attr-width-descriptor": "imagesrcset"
2623
+ }
2624
+ },
2625
+ "imagesrcset": {
2626
+ "allowed": {
2627
+ "link-image-preload": true
2628
+ }
2629
+ },
2630
+ "integrity": {
2631
+ "allowed": {
2632
+ "if-attribute-value": {
2633
+ "default": null,
2634
+ "key": "rel",
2635
+ "values": [
2636
+ "stylesheet",
2637
+ "preload",
2638
+ "modulepreload"
2639
+ ]
2640
+ }
2641
+ },
2642
+ "enum": [
2643
+ {
2644
+ "name": "a non-empty string",
2645
+ "regex": "^.+$"
2646
+ }
2647
+ ]
2648
+ },
2649
+ "media": {},
2650
+ "methods": {
2651
+ "deprecated": true
2652
+ },
2653
+ "referrerpolicy": {
2654
+ "enum": [
2655
+ "",
2656
+ "no-referrer",
2657
+ "no-referrer-when-downgrade",
2658
+ "same-origin",
2659
+ "origin",
2660
+ "strict-origin",
2661
+ "origin-when-cross-origin",
2662
+ "strict-origin-when-cross-origin",
2663
+ "unsafe-url"
2664
+ ]
2665
+ },
2666
+ "rel": {
2667
+ "allowed": {
2668
+ "rel-disallowed": [
2669
+ "bookmark",
2670
+ "external",
2671
+ "nofollow",
2672
+ "noopener",
2673
+ "noreferrer",
2674
+ "opener",
2675
+ "tag",
2676
+ "disclosure",
2677
+ "entry-content",
2678
+ "lightbox",
2679
+ "lightvideo"
2680
+ ]
2681
+ },
2682
+ "enum": [
2683
+ {
2684
+ "name": "a non-empty string",
2685
+ "regex": "^.+$"
2686
+ }
2687
+ ],
2688
+ "list": true
2689
+ },
2690
+ "sizes": {},
2691
+ "target": {
2692
+ "deprecated": true
2693
+ },
2694
+ "type": {},
2695
+ "urn": {
2696
+ "deprecated": true
2697
+ }
2698
+ },
2699
+ "flow": {
2700
+ "any": [
2701
+ {
2702
+ "attr": "itemprop"
2703
+ },
2704
+ {
2705
+ "attr-token": {
2706
+ "name": "rel",
2707
+ "values": [
2708
+ "dns-prefetch",
2709
+ "modulepreload",
2710
+ "pingback",
2711
+ "preconnect",
2712
+ "prefetch",
2713
+ "preload",
2714
+ "stylesheet"
2715
+ ]
2716
+ }
2717
+ }
2718
+ ]
2719
+ },
2720
+ "metadata": true,
2721
+ "phrasing": {
2722
+ "any": [
2723
+ {
2724
+ "attr": "itemprop"
2725
+ },
2726
+ {
2727
+ "attr-token": {
2728
+ "name": "rel",
2729
+ "values": [
2730
+ "dns-prefetch",
2731
+ "modulepreload",
2732
+ "pingback",
2733
+ "preconnect",
2734
+ "prefetch",
2735
+ "preload",
2736
+ "stylesheet"
2737
+ ]
2738
+ }
2739
+ }
2740
+ ]
2741
+ },
2742
+ "void": true
2743
+ },
2744
+ "listing": {
2745
+ "deprecated": {
2746
+ "source": "html32"
2747
+ }
2748
+ },
2749
+ "main": {
2750
+ "aria": {
2751
+ "implicitRole": "main"
2752
+ },
2753
+ "flow": true
2754
+ },
2755
+ "map": {
2756
+ "aria": {
2757
+ "naming": "prohibited"
2758
+ },
2759
+ "attributes": {
2760
+ "name": {
2761
+ "enum": [
2762
+ {
2763
+ "name": "/\\S+/",
2764
+ "regex": "^\\S+$"
2765
+ }
2766
+ ],
2767
+ "required": true
2768
+ }
2769
+ },
2770
+ "flow": true,
2771
+ "phrasing": true,
2772
+ "transparent": true
2773
+ },
2774
+ "mark": {
2775
+ "aria": {
2776
+ "naming": "prohibited"
2777
+ },
2778
+ "flow": true,
2779
+ "permittedContent": [
2780
+ "@phrasing"
2781
+ ],
2782
+ "phrasing": true
2783
+ },
2784
+ "marquee": {
2785
+ "attributes": {
2786
+ "datafld": {
2787
+ "deprecated": true
2788
+ },
2789
+ "dataformatas": {
2790
+ "deprecated": true
2791
+ },
2792
+ "datasrc": {
2793
+ "deprecated": true
2794
+ }
2795
+ },
2796
+ "deprecated": {
2797
+ "source": "html5"
2798
+ }
2799
+ },
2800
+ "math": {
2801
+ "aria": {
2802
+ "implicitRole": "math"
2803
+ },
2804
+ "attributes": {
2805
+ "align": {
2806
+ "deprecated": true
2807
+ },
2808
+ "dir": {
2809
+ "enum": [
2810
+ "ltr",
2811
+ "rtl"
2812
+ ]
2813
+ },
2814
+ "display": {
2815
+ "enum": [
2816
+ "block",
2817
+ "inline"
2818
+ ]
2819
+ },
2820
+ "hspace": {
2821
+ "deprecated": true
2822
+ },
2823
+ "name": {
2824
+ "deprecated": true
2825
+ },
2826
+ "overflow": {
2827
+ "enum": [
2828
+ "linebreak",
2829
+ "scroll",
2830
+ "elide",
2831
+ "truncate",
2832
+ "scale"
2833
+ ]
2834
+ },
2835
+ "vspace": {
2836
+ "deprecated": true
2837
+ }
2838
+ },
2839
+ "embedded": true,
2840
+ "flow": true,
2841
+ "foreign": true,
2842
+ "phrasing": true
2843
+ },
2844
+ "menu": {
2845
+ "aria": {
2846
+ "implicitRole": "list"
2847
+ },
2848
+ "flow": true,
2849
+ "permittedContent": [
2850
+ "@script",
2851
+ "li"
2852
+ ]
2853
+ },
2854
+ "meta": {
2855
+ "aria": {
2856
+ "naming": "prohibited"
2857
+ },
2858
+ "attributes": {
2859
+ "charset": {
2860
+ "enum": [
2861
+ "utf-8"
2862
+ ]
2863
+ },
2864
+ "content": {
2865
+ "allowed": {
2866
+ "if-attribute-present": [
2867
+ "name",
2868
+ "http-equiv",
2869
+ "itemprop",
2870
+ "property"
2871
+ ]
2872
+ }
2873
+ },
2874
+ "http-equiv": {
2875
+ "allowed": {
2876
+ "if-attribute-absent": [
2877
+ "name",
2878
+ "itemprop"
2879
+ ]
2880
+ }
2881
+ },
2882
+ "itemprop": {
2883
+ "allowed": {
2884
+ "if-attribute-absent": [
2885
+ "http-equiv",
2886
+ "name"
2887
+ ]
2888
+ }
2889
+ },
2890
+ "name": {
2891
+ "allowed": {
2892
+ "if-attribute-absent": [
2893
+ "http-equiv",
2894
+ "itemprop"
2895
+ ]
2896
+ }
2897
+ },
2898
+ "scheme": {
2899
+ "deprecated": true
2900
+ }
2901
+ },
2902
+ "flow": {
2903
+ "attr": "itemprop"
2904
+ },
2905
+ "metadata": true,
2906
+ "phrasing": {
2907
+ "attr": "itemprop"
2908
+ },
2909
+ "void": true
2910
+ },
2911
+ "meter": {
2912
+ "aria": {
2913
+ "implicitRole": "meter"
2914
+ },
2915
+ "attributes": {
2916
+ "high": {
2917
+ "enum": [
2918
+ {
2919
+ "name": "a floating-point number",
2920
+ "regex": "(?i)^-?(\\d+(\\.\\d+)?|\\.\\d+)(E[+-]?\\d+)?$"
2921
+ }
2922
+ ]
2923
+ },
2924
+ "low": {
2925
+ "enum": [
2926
+ {
2927
+ "name": "a floating-point number",
2928
+ "regex": "(?i)^-?(\\d+(\\.\\d+)?|\\.\\d+)(E[+-]?\\d+)?$"
2929
+ }
2930
+ ]
2931
+ },
2932
+ "max": {
2933
+ "enum": [
2934
+ {
2935
+ "name": "a floating-point number",
2936
+ "regex": "(?i)^-?(\\d+(\\.\\d+)?|\\.\\d+)(E[+-]?\\d+)?$"
2937
+ }
2938
+ ]
2939
+ },
2940
+ "min": {
2941
+ "enum": [
2942
+ {
2943
+ "name": "a floating-point number",
2944
+ "regex": "(?i)^-?(\\d+(\\.\\d+)?|\\.\\d+)(E[+-]?\\d+)?$"
2945
+ }
2946
+ ]
2947
+ },
2948
+ "optimum": {
2949
+ "enum": [
2950
+ {
2951
+ "name": "a floating-point number",
2952
+ "regex": "(?i)^-?(\\d+(\\.\\d+)?|\\.\\d+)(E[+-]?\\d+)?$"
2953
+ }
2954
+ ]
2955
+ },
2956
+ "value": {
2957
+ "enum": [
2958
+ {
2959
+ "name": "a floating-point number",
2960
+ "regex": "(?i)^-?(\\d+(\\.\\d+)?|\\.\\d+)(E[+-]?\\d+)?$"
2961
+ }
2962
+ ]
2963
+ }
2964
+ },
2965
+ "flow": true,
2966
+ "labelable": true,
2967
+ "permittedContent": [
2968
+ "@phrasing"
2969
+ ],
2970
+ "permittedDescendants": [
2971
+ {
2972
+ "exclude": "meter"
2973
+ }
2974
+ ],
2975
+ "phrasing": true
2976
+ },
2977
+ "multicol": {
2978
+ "deprecated": {
2979
+ "message": "use CSS instead",
2980
+ "source": "html5"
2981
+ }
2982
+ },
2983
+ "nav": {
2984
+ "aria": {
2985
+ "implicitRole": "navigation"
2986
+ },
2987
+ "flow": true,
2988
+ "permittedContent": [
2989
+ "@flow"
2990
+ ],
2991
+ "permittedDescendants": [
2992
+ {
2993
+ "exclude": "main"
2994
+ }
2995
+ ],
2996
+ "sectioning": true
2997
+ },
2998
+ "nextid": {
2999
+ "deprecated": {
3000
+ "source": "html32"
3001
+ }
3002
+ },
3003
+ "nobr": {
3004
+ "deprecated": {
3005
+ "message": "use CSS instead",
3006
+ "source": "non-standard"
3007
+ }
3008
+ },
3009
+ "noembed": {
3010
+ "deprecated": {
3011
+ "source": "non-standard"
3012
+ }
3013
+ },
3014
+ "noframes": {
3015
+ "deprecated": {
3016
+ "source": "html5"
3017
+ }
3018
+ },
3019
+ "noscript": {
3020
+ "aria": {
3021
+ "naming": "prohibited"
3022
+ },
3023
+ "flow": true,
3024
+ "metadata": true,
3025
+ "permittedDescendants": [
3026
+ {
3027
+ "exclude": "noscript"
3028
+ }
3029
+ ],
3030
+ "phrasing": true,
3031
+ "transparent": true
3032
+ },
3033
+ "object": {
3034
+ "attributes": {
3035
+ "align": {
3036
+ "deprecated": true
3037
+ },
3038
+ "archive": {
3039
+ "deprecated": true
3040
+ },
3041
+ "blocking": {
3042
+ "enum": [
3043
+ "render"
3044
+ ],
3045
+ "list": true
3046
+ },
3047
+ "border": {
3048
+ "deprecated": true
3049
+ },
3050
+ "classid": {
3051
+ "deprecated": true
3052
+ },
3053
+ "code": {
3054
+ "deprecated": true
3055
+ },
3056
+ "codebase": {
3057
+ "deprecated": true
3058
+ },
3059
+ "codetype": {
3060
+ "deprecated": true
3061
+ },
3062
+ "data": {
3063
+ "enum": [
3064
+ {
3065
+ "name": "a non-empty string",
3066
+ "regex": "^.+$"
3067
+ }
3068
+ ],
3069
+ "required": true
3070
+ },
3071
+ "datafld": {
3072
+ "deprecated": true
3073
+ },
3074
+ "dataformatas": {
3075
+ "deprecated": true
3076
+ },
3077
+ "datasrc": {
3078
+ "deprecated": true
3079
+ },
3080
+ "declare": {
3081
+ "deprecated": true
3082
+ },
3083
+ "height": {
3084
+ "enum": [
3085
+ {
3086
+ "name": "a positive integer",
3087
+ "regex": "^\\d+$"
3088
+ }
3089
+ ]
3090
+ },
3091
+ "hspace": {
3092
+ "deprecated": true
3093
+ },
3094
+ "name": {
3095
+ "enum": [
3096
+ {
3097
+ "name": "a browsing context name (non-empty string, must not start with `_`)",
3098
+ "regex": "^[^_].*$"
3099
+ }
3100
+ ]
3101
+ },
3102
+ "standby": {
3103
+ "deprecated": true
3104
+ },
3105
+ "vspace": {
3106
+ "deprecated": true
3107
+ },
3108
+ "width": {
3109
+ "enum": [
3110
+ {
3111
+ "name": "a positive integer",
3112
+ "regex": "^\\d+$"
3113
+ }
3114
+ ]
3115
+ }
3116
+ },
3117
+ "embedded": true,
3118
+ "flow": true,
3119
+ "formAssociated": {
3120
+ "disablable": false,
3121
+ "listed": true
3122
+ },
3123
+ "interactive": {
3124
+ "attr": "usemap"
3125
+ },
3126
+ "permittedContent": [
3127
+ "param",
3128
+ "@flow"
3129
+ ],
3130
+ "permittedOrder": [
3131
+ "param",
3132
+ "@flow"
3133
+ ],
3134
+ "phrasing": true,
3135
+ "transparent": true
3136
+ },
3137
+ "ol": {
3138
+ "aria": {
3139
+ "implicitRole": "list"
3140
+ },
3141
+ "attributes": {
3142
+ "compact": {
3143
+ "deprecated": true
3144
+ },
3145
+ "reversed": {
3146
+ "boolean": true
3147
+ },
3148
+ "start": {
3149
+ "enum": [
3150
+ {
3151
+ "name": "a positive integer",
3152
+ "regex": "^\\d+$"
3153
+ }
3154
+ ]
3155
+ },
3156
+ "type": {
3157
+ "enum": [
3158
+ "a",
3159
+ "A",
3160
+ "i",
3161
+ "I",
3162
+ "1"
3163
+ ]
3164
+ }
3165
+ },
3166
+ "flow": true,
3167
+ "permittedContent": [
3168
+ "@script",
3169
+ "li"
3170
+ ]
3171
+ },
3172
+ "optgroup": {
3173
+ "aria": {
3174
+ "implicitRole": "group"
3175
+ },
3176
+ "attributes": {
3177
+ "disabled": {
3178
+ "boolean": true
3179
+ },
3180
+ "label": {}
3181
+ },
3182
+ "implicitClosed": [
3183
+ "optgroup"
3184
+ ],
3185
+ "permittedContent": [
3186
+ "@script",
3187
+ "option"
3188
+ ]
3189
+ },
3190
+ "option": {
3191
+ "aria": {
3192
+ "implicitRole": "option"
3193
+ },
3194
+ "attributes": {
3195
+ "dataformatas": {
3196
+ "deprecated": true
3197
+ },
3198
+ "datasrc": {
3199
+ "deprecated": true
3200
+ },
3201
+ "disabled": {
3202
+ "boolean": true
3203
+ },
3204
+ "label": {},
3205
+ "name": {
3206
+ "deprecated": true
3207
+ },
3208
+ "selected": {
3209
+ "boolean": true
3210
+ },
3211
+ "value": {}
3212
+ },
3213
+ "implicitClosed": [
3214
+ "option",
3215
+ "optgroup"
3216
+ ],
3217
+ "permittedContent": [
3218
+ "@phrasing",
3219
+ "div"
3220
+ ],
3221
+ "permittedDescendants": [
3222
+ {
3223
+ "exclude": [
3224
+ "@interactive",
3225
+ "datalist",
3226
+ "object"
3227
+ ]
3228
+ }
3229
+ ]
3230
+ },
3231
+ "output": {
3232
+ "aria": {
3233
+ "implicitRole": "status"
3234
+ },
3235
+ "attributes": {
3236
+ "for": {
3237
+ "enum": [
3238
+ {
3239
+ "name": "a valid id",
3240
+ "regex": "^\\S+$"
3241
+ }
3242
+ ],
3243
+ "list": true,
3244
+ "reference": "id"
3245
+ },
3246
+ "form": {
3247
+ "enum": [
3248
+ {
3249
+ "name": "a valid id",
3250
+ "regex": "^\\S+$"
3251
+ }
3252
+ ],
3253
+ "reference": "id"
3254
+ },
3255
+ "name": {
3256
+ "enum": [
3257
+ {
3258
+ "name": "a non-empty string",
3259
+ "regex": "^.+$"
3260
+ }
3261
+ ]
3262
+ }
3263
+ },
3264
+ "flow": true,
3265
+ "formAssociated": {
3266
+ "disablable": false,
3267
+ "listed": true
3268
+ },
3269
+ "labelable": true,
3270
+ "permittedContent": [
3271
+ "@phrasing"
3272
+ ],
3273
+ "phrasing": true
3274
+ },
3275
+ "p": {
3276
+ "aria": {
3277
+ "implicitRole": "paragraph",
3278
+ "naming": "prohibited"
3279
+ },
3280
+ "attributes": {
3281
+ "align": {
3282
+ "deprecated": true
3283
+ }
3284
+ },
3285
+ "flow": true,
3286
+ "implicitClosed": [
3287
+ "address",
3288
+ "article",
3289
+ "aside",
3290
+ "blockquote",
3291
+ "dd",
3292
+ "details",
3293
+ "dialog",
3294
+ "div",
3295
+ "dl",
3296
+ "dt",
3297
+ "fieldset",
3298
+ "figcaption",
3299
+ "figure",
3300
+ "footer",
3301
+ "form",
3302
+ "h1",
3303
+ "h2",
3304
+ "h3",
3305
+ "h4",
3306
+ "h5",
3307
+ "h6",
3308
+ "header",
3309
+ "hgroup",
3310
+ "hr",
3311
+ "li",
3312
+ "main",
3313
+ "menu",
3314
+ "nav",
3315
+ "ol",
3316
+ "p",
3317
+ "pre",
3318
+ "search",
3319
+ "section",
3320
+ "table",
3321
+ "ul"
3322
+ ],
3323
+ "permittedContent": [
3324
+ "@phrasing"
3325
+ ]
3326
+ },
3327
+ "param": {
3328
+ "aria": {
3329
+ "naming": "prohibited"
3330
+ },
3331
+ "attributes": {
3332
+ "datafld": {
3333
+ "deprecated": true
3334
+ },
3335
+ "type": {
3336
+ "deprecated": true
3337
+ },
3338
+ "valuetype": {
3339
+ "deprecated": true
3340
+ }
3341
+ },
3342
+ "void": true
3343
+ },
3344
+ "picture": {
3345
+ "aria": {
3346
+ "naming": "prohibited"
3347
+ },
3348
+ "embedded": true,
3349
+ "flow": true,
3350
+ "permittedContent": [
3351
+ "@script",
3352
+ "source",
3353
+ "img"
3354
+ ],
3355
+ "permittedOrder": [
3356
+ "source",
3357
+ "img"
3358
+ ],
3359
+ "phrasing": true
3360
+ },
3361
+ "plaintext": {
3362
+ "deprecated": {
3363
+ "message": "use <pre> or CSS instead",
3364
+ "source": "html2"
3365
+ }
3366
+ },
3367
+ "pre": {
3368
+ "aria": {
3369
+ "implicitRole": "generic",
3370
+ "naming": "prohibited"
3371
+ },
3372
+ "attributes": {
3373
+ "width": {
3374
+ "deprecated": true
3375
+ }
3376
+ },
3377
+ "flow": true,
3378
+ "permittedContent": [
3379
+ "@phrasing"
3380
+ ]
3381
+ },
3382
+ "progress": {
3383
+ "aria": {
3384
+ "implicitRole": "progressbar"
3385
+ },
3386
+ "attributes": {
3387
+ "max": {
3388
+ "enum": [
3389
+ {
3390
+ "name": "a floating-point number",
3391
+ "regex": "(?i)^-?(\\d+(\\.\\d+)?|\\.\\d+)(E[+-]?\\d+)?$"
3392
+ }
3393
+ ]
3394
+ },
3395
+ "value": {
3396
+ "enum": [
3397
+ {
3398
+ "name": "a floating-point number",
3399
+ "regex": "(?i)^-?(\\d+(\\.\\d+)?|\\.\\d+)(E[+-]?\\d+)?$"
3400
+ }
3401
+ ]
3402
+ }
3403
+ },
3404
+ "flow": true,
3405
+ "labelable": true,
3406
+ "permittedContent": [
3407
+ "@phrasing"
3408
+ ],
3409
+ "permittedDescendants": [
3410
+ {
3411
+ "exclude": "progress"
3412
+ }
3413
+ ],
3414
+ "phrasing": true
3415
+ },
3416
+ "q": {
3417
+ "aria": {
3418
+ "implicitRole": "generic",
3419
+ "naming": "prohibited"
3420
+ },
3421
+ "attributes": {
3422
+ "cite": {}
3423
+ },
3424
+ "flow": true,
3425
+ "permittedContent": [
3426
+ "@phrasing"
3427
+ ],
3428
+ "phrasing": true
3429
+ },
3430
+ "rb": {
3431
+ "implicitClosed": [
3432
+ "rb",
3433
+ "rt",
3434
+ "rtc",
3435
+ "rp"
3436
+ ],
3437
+ "permittedContent": [
3438
+ "@phrasing"
3439
+ ]
3440
+ },
3441
+ "rp": {
3442
+ "aria": {
3443
+ "naming": "prohibited"
3444
+ },
3445
+ "implicitClosed": [
3446
+ "rb",
3447
+ "rt",
3448
+ "rtc",
3449
+ "rp"
3450
+ ],
3451
+ "permittedContent": [
3452
+ "@phrasing"
3453
+ ]
3454
+ },
3455
+ "rt": {
3456
+ "aria": {
3457
+ "naming": "prohibited"
3458
+ },
3459
+ "implicitClosed": [
3460
+ "rb",
3461
+ "rt",
3462
+ "rtc",
3463
+ "rp"
3464
+ ],
3465
+ "permittedContent": [
3466
+ "@phrasing"
3467
+ ]
3468
+ },
3469
+ "rtc": {
3470
+ "implicitClosed": [
3471
+ "rb",
3472
+ "rtc",
3473
+ "rp"
3474
+ ],
3475
+ "permittedContent": [
3476
+ "@phrasing",
3477
+ "rt"
3478
+ ]
3479
+ },
3480
+ "ruby": {
3481
+ "flow": true,
3482
+ "permittedContent": [
3483
+ "@phrasing",
3484
+ "rb",
3485
+ "rp",
3486
+ "rt",
3487
+ "rtc"
3488
+ ],
3489
+ "phrasing": true
3490
+ },
3491
+ "s": {
3492
+ "aria": {
3493
+ "implicitRole": "deletion",
3494
+ "naming": "prohibited"
3495
+ },
3496
+ "flow": true,
3497
+ "permittedContent": [
3498
+ "@phrasing"
3499
+ ],
3500
+ "phrasing": true
3501
+ },
3502
+ "samp": {
3503
+ "aria": {
3504
+ "implicitRole": "generic",
3505
+ "naming": "prohibited"
3506
+ },
3507
+ "flow": true,
3508
+ "permittedContent": [
3509
+ "@phrasing"
3510
+ ],
3511
+ "phrasing": true
3512
+ },
3513
+ "script": {
3514
+ "aria": {
3515
+ "naming": "prohibited"
3516
+ },
3517
+ "attributes": {
3518
+ "async": {
3519
+ "boolean": true
3520
+ },
3521
+ "blocking": {
3522
+ "enum": [
3523
+ "render"
3524
+ ],
3525
+ "list": true
3526
+ },
3527
+ "crossorigin": {
3528
+ "enum": [
3529
+ "anonymous",
3530
+ "use-credentials"
3531
+ ],
3532
+ "omit": true
3533
+ },
3534
+ "defer": {
3535
+ "boolean": true
3536
+ },
3537
+ "event": {
3538
+ "deprecated": true
3539
+ },
3540
+ "fetchpriority": {
3541
+ "enum": [
3542
+ "high",
3543
+ "low",
3544
+ "auto"
3545
+ ]
3546
+ },
3547
+ "for": {
3548
+ "deprecated": true
3549
+ },
3550
+ "integrity": {
3551
+ "allowed": {
3552
+ "if-attribute-present": [
3553
+ "src"
3554
+ ]
3555
+ },
3556
+ "enum": [
3557
+ {
3558
+ "name": "a non-empty string",
3559
+ "regex": "^.+$"
3560
+ }
3561
+ ]
3562
+ },
3563
+ "language": {
3564
+ "deprecated": true
3565
+ },
3566
+ "nomodule": {
3567
+ "boolean": true
3568
+ },
3569
+ "referrerpolicy": {
3570
+ "enum": [
3571
+ "",
3572
+ "no-referrer",
3573
+ "no-referrer-when-downgrade",
3574
+ "same-origin",
3575
+ "origin",
3576
+ "strict-origin",
3577
+ "origin-when-cross-origin",
3578
+ "strict-origin-when-cross-origin",
3579
+ "unsafe-url"
3580
+ ]
3581
+ },
3582
+ "src": {
3583
+ "enum": [
3584
+ {
3585
+ "name": "a non-empty string",
3586
+ "regex": "^.+$"
3587
+ }
3588
+ ]
3589
+ },
3590
+ "type": {}
3591
+ },
3592
+ "flow": true,
3593
+ "metadata": true,
3594
+ "phrasing": true,
3595
+ "scriptSupporting": true
3596
+ },
3597
+ "search": {
3598
+ "aria": {
3599
+ "implicitRole": "search"
3600
+ },
3601
+ "flow": true
3602
+ },
3603
+ "section": {
3604
+ "aria": {
3605
+ "implicitRole": {
3606
+ "else": "generic",
3607
+ "if": {
3608
+ "any": [
3609
+ {
3610
+ "attr": "aria-label"
3611
+ },
3612
+ {
3613
+ "attr": "aria-labelledby"
3614
+ }
3615
+ ]
3616
+ },
3617
+ "then": "region"
3618
+ }
3619
+ },
3620
+ "flow": true,
3621
+ "permittedContent": [
3622
+ "@flow"
3623
+ ],
3624
+ "sectioning": true
3625
+ },
3626
+ "select": {
3627
+ "aria": {
3628
+ "implicitRole": {
3629
+ "else": "combobox",
3630
+ "if": {
3631
+ "any": [
3632
+ {
3633
+ "attr": "multiple"
3634
+ },
3635
+ {
3636
+ "attr-int-above": {
3637
+ "name": "size",
3638
+ "value": 1
3639
+ }
3640
+ }
3641
+ ]
3642
+ },
3643
+ "then": "listbox"
3644
+ }
3645
+ },
3646
+ "attributes": {
3647
+ "autocomplete": {},
3648
+ "autofocus": {
3649
+ "boolean": true
3650
+ },
3651
+ "disabled": {
3652
+ "boolean": true
3653
+ },
3654
+ "form": {
3655
+ "enum": [
3656
+ {
3657
+ "name": "a valid id",
3658
+ "regex": "^\\S+$"
3659
+ }
3660
+ ],
3661
+ "reference": "id"
3662
+ },
3663
+ "multiple": {
3664
+ "boolean": true
3665
+ },
3666
+ "name": {
3667
+ "enum": [
3668
+ {
3669
+ "name": "a non-empty string",
3670
+ "regex": "^.+$"
3671
+ }
3672
+ ]
3673
+ },
3674
+ "required": {
3675
+ "boolean": true
3676
+ },
3677
+ "size": {
3678
+ "enum": [
3679
+ {
3680
+ "name": "a positive integer",
3681
+ "regex": "^\\d+$"
3682
+ }
3683
+ ]
3684
+ }
3685
+ },
3686
+ "flow": true,
3687
+ "focusable": true,
3688
+ "formAssociated": {
3689
+ "disablable": true,
3690
+ "listed": true
3691
+ },
3692
+ "interactive": true,
3693
+ "labelable": true,
3694
+ "permittedContent": [
3695
+ "@script",
3696
+ "button?",
3697
+ "datasrc",
3698
+ "datafld",
3699
+ "dataformatas",
3700
+ "option",
3701
+ "optgroup",
3702
+ "hr"
3703
+ ],
3704
+ "permittedOrder": [
3705
+ "button",
3706
+ "option, optgroup, hr"
3707
+ ],
3708
+ "phrasing": true
3709
+ },
3710
+ "selectedcontent": {
3711
+ "aria": {
3712
+ "implicitRole": "generic",
3713
+ "naming": "prohibited"
3714
+ },
3715
+ "permittedContent": [],
3716
+ "phrasing": true,
3717
+ "requiredAncestors": [
3718
+ "select > button"
3719
+ ],
3720
+ "textContent": "none"
3721
+ },
3722
+ "slot": {
3723
+ "aria": {
3724
+ "naming": "prohibited"
3725
+ },
3726
+ "attributes": {
3727
+ "name": {}
3728
+ },
3729
+ "flow": true,
3730
+ "phrasing": true,
3731
+ "transparent": true
3732
+ },
3733
+ "small": {
3734
+ "aria": {
3735
+ "implicitRole": "generic",
3736
+ "naming": "prohibited"
3737
+ },
3738
+ "flow": true,
3739
+ "permittedContent": [
3740
+ "@phrasing"
3741
+ ],
3742
+ "phrasing": true
3743
+ },
3744
+ "source": {
3745
+ "aria": {
3746
+ "naming": "prohibited"
3747
+ },
3748
+ "attributes": {
3749
+ "height": {
3750
+ "allowed": {
3751
+ "if-parent-present": [
3752
+ "picture"
3753
+ ]
3754
+ },
3755
+ "enum": [
3756
+ {
3757
+ "name": "a positive integer",
3758
+ "regex": "^\\d+$"
3759
+ }
3760
+ ]
3761
+ },
3762
+ "media": {},
3763
+ "sizes": {
3764
+ "allowed": {
3765
+ "if-parent-present": [
3766
+ "picture"
3767
+ ]
3768
+ }
3769
+ },
3770
+ "src": {
3771
+ "allowed": {
3772
+ "if-parent-present": [
3773
+ "audio",
3774
+ "video"
3775
+ ]
3776
+ }
3777
+ },
3778
+ "srcset": {
3779
+ "allowed": {
3780
+ "if-parent-present": [
3781
+ "picture"
3782
+ ]
3783
+ }
3784
+ },
3785
+ "type": {},
3786
+ "width": {
3787
+ "allowed": {
3788
+ "if-parent-present": [
3789
+ "picture"
3790
+ ]
3791
+ },
3792
+ "enum": [
3793
+ {
3794
+ "name": "a positive integer",
3795
+ "regex": "^\\d+$"
3796
+ }
3797
+ ]
3798
+ }
3799
+ },
3800
+ "void": true
3801
+ },
3802
+ "spacer": {
3803
+ "deprecated": {
3804
+ "message": "use CSS instead",
3805
+ "source": "non-standard"
3806
+ }
3807
+ },
3808
+ "span": {
3809
+ "aria": {
3810
+ "implicitRole": "generic",
3811
+ "naming": "prohibited"
3812
+ },
3813
+ "attributes": {
3814
+ "datafld": {
3815
+ "deprecated": true
3816
+ },
3817
+ "dataformatas": {
3818
+ "deprecated": true
3819
+ },
3820
+ "datasrc": {
3821
+ "deprecated": true
3822
+ }
3823
+ },
3824
+ "flow": true,
3825
+ "permittedContent": [
3826
+ "@phrasing"
3827
+ ],
3828
+ "phrasing": true
3829
+ },
3830
+ "strike": {
3831
+ "deprecated": {
3832
+ "message": "use <del> or <s> instead",
3833
+ "source": "html5"
3834
+ }
3835
+ },
3836
+ "strong": {
3837
+ "aria": {
3838
+ "implicitRole": "strong",
3839
+ "naming": "prohibited"
3840
+ },
3841
+ "flow": true,
3842
+ "permittedContent": [
3843
+ "@phrasing"
3844
+ ],
3845
+ "phrasing": true
3846
+ },
3847
+ "style": {
3848
+ "aria": {
3849
+ "naming": "prohibited"
3850
+ },
3851
+ "metadata": true
3852
+ },
3853
+ "sub": {
3854
+ "aria": {
3855
+ "implicitRole": "subscript",
3856
+ "naming": "prohibited"
3857
+ },
3858
+ "flow": true,
3859
+ "permittedContent": [
3860
+ "@phrasing"
3861
+ ],
3862
+ "phrasing": true
3863
+ },
3864
+ "summary": {
3865
+ "aria": {
3866
+ "implicitRole": "button"
3867
+ },
3868
+ "focusable": {
3869
+ "ancestor": [
3870
+ "details"
3871
+ ]
3872
+ },
3873
+ "permittedContent": [
3874
+ "@phrasing",
3875
+ "@heading"
3876
+ ]
3877
+ },
3878
+ "sup": {
3879
+ "aria": {
3880
+ "implicitRole": "superscript",
3881
+ "naming": "prohibited"
3882
+ },
3883
+ "flow": true,
3884
+ "permittedContent": [
3885
+ "@phrasing"
3886
+ ],
3887
+ "phrasing": true
3888
+ },
3889
+ "svg": {
3890
+ "aria": {
3891
+ "implicitRole": "graphics-document"
3892
+ },
3893
+ "attributes": {
3894
+ "focusable": {
3895
+ "enum": [
3896
+ "true",
3897
+ "false"
3898
+ ]
3899
+ }
3900
+ },
3901
+ "embedded": true,
3902
+ "flow": true,
3903
+ "foreign": true,
3904
+ "phrasing": true
3905
+ },
3906
+ "svg:desc": {},
3907
+ "svg:title": {},
3908
+ "table": {
3909
+ "aria": {
3910
+ "implicitRole": "table"
3911
+ },
3912
+ "attributes": {
3913
+ "align": {
3914
+ "deprecated": true
3915
+ },
3916
+ "background": {
3917
+ "deprecated": true
3918
+ },
3919
+ "bgcolor": {
3920
+ "deprecated": true
3921
+ },
3922
+ "bordercolor": {
3923
+ "deprecated": true
3924
+ },
3925
+ "cellpadding": {
3926
+ "deprecated": true
3927
+ },
3928
+ "cellspacing": {
3929
+ "deprecated": true
3930
+ },
3931
+ "dataformatas": {
3932
+ "deprecated": true
3933
+ },
3934
+ "datapagesize": {
3935
+ "deprecated": true
3936
+ },
3937
+ "datasrc": {
3938
+ "deprecated": true
3939
+ },
3940
+ "frame": {
3941
+ "deprecated": true
3942
+ },
3943
+ "rules": {
3944
+ "deprecated": true
3945
+ },
3946
+ "summary": {
3947
+ "deprecated": true
3948
+ },
3949
+ "width": {
3950
+ "deprecated": true
3951
+ }
3952
+ },
3953
+ "flow": true,
3954
+ "implicitOpen": [
3955
+ {
3956
+ "for": [
3957
+ "col"
3958
+ ],
3959
+ "open": "colgroup"
3960
+ }
3961
+ ],
3962
+ "permittedContent": [
3963
+ "@script",
3964
+ "caption?",
3965
+ "colgroup",
3966
+ "tbody",
3967
+ "tfoot?",
3968
+ "thead?",
3969
+ "tr"
3970
+ ],
3971
+ "permittedOrder": [
3972
+ "caption",
3973
+ "colgroup",
3974
+ "thead",
3975
+ "tbody",
3976
+ "tr",
3977
+ "tfoot"
3978
+ ]
3979
+ },
3980
+ "tbody": {
3981
+ "aria": {
3982
+ "implicitRole": "rowgroup"
3983
+ },
3984
+ "attributes": {
3985
+ "align": {
3986
+ "deprecated": true
3987
+ },
3988
+ "background": {
3989
+ "deprecated": true
3990
+ },
3991
+ "char": {
3992
+ "deprecated": true
3993
+ },
3994
+ "charoff": {
3995
+ "deprecated": true
3996
+ },
3997
+ "valign": {
3998
+ "deprecated": true
3999
+ }
4000
+ },
4001
+ "implicitClosed": [
4002
+ "tbody",
4003
+ "tfoot"
4004
+ ],
4005
+ "permittedContent": [
4006
+ "@script",
4007
+ "tr"
4008
+ ]
4009
+ },
4010
+ "td": {
4011
+ "aria": {
4012
+ "implicitRole": {
4013
+ "table-cell-role": "td"
4014
+ }
4015
+ },
4016
+ "attributes": {
4017
+ "align": {
4018
+ "deprecated": true
4019
+ },
4020
+ "axis": {
4021
+ "deprecated": true
4022
+ },
4023
+ "background": {
4024
+ "deprecated": true
4025
+ },
4026
+ "bgcolor": {
4027
+ "deprecated": true
4028
+ },
4029
+ "char": {
4030
+ "deprecated": true
4031
+ },
4032
+ "charoff": {
4033
+ "deprecated": true
4034
+ },
4035
+ "colspan": {
4036
+ "enum": [
4037
+ {
4038
+ "name": "a positive integer",
4039
+ "regex": "^\\d+$"
4040
+ }
4041
+ ]
4042
+ },
4043
+ "headers": {
4044
+ "enum": [
4045
+ {
4046
+ "name": "a valid id",
4047
+ "regex": "^\\S+$"
4048
+ }
4049
+ ],
4050
+ "list": true,
4051
+ "reference": "id"
4052
+ },
4053
+ "height": {
4054
+ "deprecated": true
4055
+ },
4056
+ "nowrap": {
4057
+ "deprecated": true
4058
+ },
4059
+ "rowspan": {
4060
+ "enum": [
4061
+ {
4062
+ "name": "a positive integer",
4063
+ "regex": "^\\d+$"
4064
+ }
4065
+ ]
4066
+ },
4067
+ "scope": {
4068
+ "deprecated": true
4069
+ },
4070
+ "valign": {
4071
+ "deprecated": true
4072
+ },
4073
+ "width": {
4074
+ "deprecated": true
4075
+ }
4076
+ },
4077
+ "flow": true,
4078
+ "implicitClosed": [
4079
+ "td",
4080
+ "th",
4081
+ "tr",
4082
+ "tbody",
4083
+ "tfoot"
4084
+ ],
4085
+ "permittedContent": [
4086
+ "@flow"
4087
+ ]
4088
+ },
4089
+ "template": {
4090
+ "aria": {
4091
+ "naming": "prohibited"
4092
+ },
4093
+ "attributes": {
4094
+ "shadowrootclonable": {
4095
+ "boolean": true
4096
+ },
4097
+ "shadowrootcustomelementregistry": {
4098
+ "boolean": true
4099
+ },
4100
+ "shadowrootdelegatesfocus": {
4101
+ "boolean": true
4102
+ },
4103
+ "shadowrootmode": {
4104
+ "enum": [
4105
+ "open",
4106
+ "closed"
4107
+ ]
4108
+ },
4109
+ "shadowrootserializable": {
4110
+ "boolean": true
4111
+ },
4112
+ "shadowrootslotassignment": {
4113
+ "enum": [
4114
+ "named",
4115
+ "manual"
4116
+ ]
4117
+ }
4118
+ },
4119
+ "flow": true,
4120
+ "metadata": true,
4121
+ "phrasing": true,
4122
+ "scriptSupporting": true,
4123
+ "templateRoot": true
4124
+ },
4125
+ "textarea": {
4126
+ "aria": {
4127
+ "implicitRole": "textbox"
4128
+ },
4129
+ "attributes": {
4130
+ "autocomplete": {},
4131
+ "autofocus": {
4132
+ "boolean": true
4133
+ },
4134
+ "cols": {
4135
+ "enum": [
4136
+ {
4137
+ "name": "a positive integer",
4138
+ "regex": "^\\d+$"
4139
+ }
4140
+ ]
4141
+ },
4142
+ "datafld": {
4143
+ "deprecated": true
4144
+ },
4145
+ "datasrc": {
4146
+ "deprecated": true
4147
+ },
4148
+ "dirname": {
4149
+ "enum": [
4150
+ {
4151
+ "name": "a non-empty string",
4152
+ "regex": "^.+$"
4153
+ }
4154
+ ]
4155
+ },
4156
+ "disabled": {
4157
+ "boolean": true
4158
+ },
4159
+ "form": {
4160
+ "enum": [
4161
+ {
4162
+ "name": "a valid id",
4163
+ "regex": "^\\S+$"
4164
+ }
4165
+ ],
4166
+ "reference": "id"
4167
+ },
4168
+ "maxlength": {
4169
+ "enum": [
4170
+ {
4171
+ "name": "a positive integer",
4172
+ "regex": "^\\d+$"
4173
+ }
4174
+ ]
4175
+ },
4176
+ "minlength": {
4177
+ "enum": [
4178
+ {
4179
+ "name": "a positive integer",
4180
+ "regex": "^\\d+$"
4181
+ }
4182
+ ]
4183
+ },
4184
+ "name": {
4185
+ "enum": [
4186
+ {
4187
+ "name": "a non-empty string",
4188
+ "regex": "^.+$"
4189
+ }
4190
+ ]
4191
+ },
4192
+ "placeholder": {},
4193
+ "readonly": {
4194
+ "boolean": true
4195
+ },
4196
+ "required": {
4197
+ "boolean": true
4198
+ },
4199
+ "rows": {
4200
+ "enum": [
4201
+ {
4202
+ "name": "a positive integer",
4203
+ "regex": "^\\d+$"
4204
+ }
4205
+ ]
4206
+ },
4207
+ "wrap": {
4208
+ "enum": [
4209
+ "hard",
4210
+ "soft"
4211
+ ]
4212
+ }
4213
+ },
4214
+ "flow": true,
4215
+ "focusable": true,
4216
+ "formAssociated": {
4217
+ "disablable": true,
4218
+ "listed": true
4219
+ },
4220
+ "interactive": true,
4221
+ "labelable": true,
4222
+ "permittedContent": [],
4223
+ "phrasing": true
4224
+ },
4225
+ "tfoot": {
4226
+ "aria": {
4227
+ "implicitRole": "rowgroup"
4228
+ },
4229
+ "attributes": {
4230
+ "align": {
4231
+ "deprecated": true
4232
+ },
4233
+ "background": {
4234
+ "deprecated": true
4235
+ },
4236
+ "char": {
4237
+ "deprecated": true
4238
+ },
4239
+ "charoff": {
4240
+ "deprecated": true
4241
+ },
4242
+ "valign": {
4243
+ "deprecated": true
4244
+ }
4245
+ },
4246
+ "implicitClosed": [
4247
+ "tbody"
4248
+ ],
4249
+ "optionalEnd": true,
4250
+ "permittedContent": [
4251
+ "@script",
4252
+ "tr"
4253
+ ]
4254
+ },
4255
+ "th": {
4256
+ "aria": {
4257
+ "implicitRole": {
4258
+ "table-cell-role": "th"
4259
+ }
4260
+ },
4261
+ "attributes": {
4262
+ "abbr": {},
4263
+ "align": {
4264
+ "deprecated": true
4265
+ },
4266
+ "axis": {
4267
+ "deprecated": true
4268
+ },
4269
+ "background": {
4270
+ "deprecated": true
4271
+ },
4272
+ "bgcolor": {
4273
+ "deprecated": true
4274
+ },
4275
+ "char": {
4276
+ "deprecated": true
4277
+ },
4278
+ "charoff": {
4279
+ "deprecated": true
4280
+ },
4281
+ "colspan": {
4282
+ "enum": [
4283
+ {
4284
+ "name": "a positive integer",
4285
+ "regex": "^\\d+$"
4286
+ }
4287
+ ]
4288
+ },
4289
+ "headers": {
4290
+ "enum": [
4291
+ {
4292
+ "name": "a valid id",
4293
+ "regex": "^\\S+$"
4294
+ }
4295
+ ],
4296
+ "list": true,
4297
+ "reference": "id"
4298
+ },
4299
+ "height": {
4300
+ "deprecated": true
4301
+ },
4302
+ "nowrap": {
4303
+ "deprecated": true
4304
+ },
4305
+ "rowspan": {
4306
+ "enum": [
4307
+ {
4308
+ "name": "a positive integer",
4309
+ "regex": "^\\d+$"
4310
+ }
4311
+ ]
4312
+ },
4313
+ "scope": {
4314
+ "enum": [
4315
+ "row",
4316
+ "col",
4317
+ "rowgroup",
4318
+ "colgroup"
4319
+ ]
4320
+ },
4321
+ "valign": {
4322
+ "deprecated": true
4323
+ },
4324
+ "width": {
4325
+ "deprecated": true
4326
+ }
4327
+ },
4328
+ "flow": true,
4329
+ "implicitClosed": [
4330
+ "td",
4331
+ "th",
4332
+ "tr",
4333
+ "tbody",
4334
+ "tfoot"
4335
+ ],
4336
+ "permittedContent": [
4337
+ "@flow"
4338
+ ],
4339
+ "permittedDescendants": [
4340
+ {
4341
+ "exclude": [
4342
+ "header",
4343
+ "footer",
4344
+ "@sectioning",
4345
+ "@heading"
4346
+ ]
4347
+ }
4348
+ ]
4349
+ },
4350
+ "thead": {
4351
+ "aria": {
4352
+ "implicitRole": "rowgroup"
4353
+ },
4354
+ "attributes": {
4355
+ "align": {
4356
+ "deprecated": true
4357
+ },
4358
+ "background": {
4359
+ "deprecated": true
4360
+ },
4361
+ "char": {
4362
+ "deprecated": true
4363
+ },
4364
+ "charoff": {
4365
+ "deprecated": true
4366
+ },
4367
+ "valign": {
4368
+ "deprecated": true
4369
+ }
4370
+ },
4371
+ "implicitClosed": [
4372
+ "tbody",
4373
+ "tfoot"
4374
+ ],
4375
+ "optionalEnd": true,
4376
+ "permittedContent": [
4377
+ "@script",
4378
+ "tr"
4379
+ ]
4380
+ },
4381
+ "time": {
4382
+ "aria": {
4383
+ "implicitRole": "time",
4384
+ "naming": "prohibited"
4385
+ },
4386
+ "attributes": {
4387
+ "datetime": {}
4388
+ },
4389
+ "flow": true,
4390
+ "permittedContent": [
4391
+ "@phrasing"
4392
+ ],
4393
+ "phrasing": true
4394
+ },
4395
+ "title": {
4396
+ "aria": {
4397
+ "naming": "prohibited"
4398
+ },
4399
+ "metadata": true,
4400
+ "permittedContent": [],
4401
+ "permittedParent": [
4402
+ "head"
4403
+ ]
4404
+ },
4405
+ "tr": {
4406
+ "aria": {
4407
+ "implicitRole": "row"
4408
+ },
4409
+ "attributes": {
4410
+ "align": {
4411
+ "deprecated": true
4412
+ },
4413
+ "background": {
4414
+ "deprecated": true
4415
+ },
4416
+ "bgcolor": {
4417
+ "deprecated": true
4418
+ },
4419
+ "char": {
4420
+ "deprecated": true
4421
+ },
4422
+ "charoff": {
4423
+ "deprecated": true
4424
+ },
4425
+ "valign": {
4426
+ "deprecated": true
4427
+ }
4428
+ },
4429
+ "implicitClosed": [
4430
+ "tr",
4431
+ "tbody",
4432
+ "tfoot"
4433
+ ],
4434
+ "permittedContent": [
4435
+ "@script",
4436
+ "td",
4437
+ "th"
4438
+ ]
4439
+ },
4440
+ "track": {
4441
+ "aria": {
4442
+ "naming": "prohibited"
4443
+ },
4444
+ "attributes": {
4445
+ "default": {
4446
+ "boolean": true
4447
+ },
4448
+ "kind": {
4449
+ "enum": [
4450
+ "subtitles",
4451
+ "captions",
4452
+ "descriptions",
4453
+ "chapters",
4454
+ "metadata"
4455
+ ],
4456
+ "omit": true
4457
+ },
4458
+ "label": {},
4459
+ "src": {
4460
+ "enum": [
4461
+ {
4462
+ "name": "a non-empty string",
4463
+ "regex": "^.+$"
4464
+ }
4465
+ ],
4466
+ "required": true
4467
+ },
4468
+ "srclang": {}
4469
+ },
4470
+ "void": true
4471
+ },
4472
+ "tt": {
4473
+ "deprecated": {
4474
+ "source": "html4"
4475
+ }
4476
+ },
4477
+ "u": {
4478
+ "aria": {
4479
+ "implicitRole": "generic",
4480
+ "naming": "prohibited"
4481
+ },
4482
+ "flow": true,
4483
+ "permittedContent": [
4484
+ "@phrasing"
4485
+ ],
4486
+ "phrasing": true
4487
+ },
4488
+ "ul": {
4489
+ "aria": {
4490
+ "implicitRole": "list"
4491
+ },
4492
+ "attributes": {
4493
+ "compact": {
4494
+ "deprecated": true
4495
+ },
4496
+ "type": {
4497
+ "deprecated": true
4498
+ }
4499
+ },
4500
+ "flow": true,
4501
+ "permittedContent": [
4502
+ "@script",
4503
+ "li"
4504
+ ]
4505
+ },
4506
+ "var": {
4507
+ "aria": {
4508
+ "naming": "prohibited"
4509
+ },
4510
+ "flow": true,
4511
+ "permittedContent": [
4512
+ "@phrasing"
4513
+ ],
4514
+ "phrasing": true
4515
+ },
4516
+ "video": {
4517
+ "attributes": {
4518
+ "autoplay": {
4519
+ "boolean": true
4520
+ },
4521
+ "controls": {
4522
+ "boolean": true
4523
+ },
4524
+ "crossorigin": {
4525
+ "enum": [
4526
+ "anonymous",
4527
+ "use-credentials"
4528
+ ],
4529
+ "omit": true
4530
+ },
4531
+ "height": {
4532
+ "enum": [
4533
+ {
4534
+ "name": "a positive integer",
4535
+ "regex": "^\\d+$"
4536
+ }
4537
+ ]
4538
+ },
4539
+ "itemprop": {
4540
+ "allowed": {
4541
+ "if-attribute-present": [
4542
+ "src"
4543
+ ]
4544
+ }
4545
+ },
4546
+ "loop": {
4547
+ "boolean": true
4548
+ },
4549
+ "muted": {
4550
+ "boolean": true
4551
+ },
4552
+ "playsinline": {
4553
+ "boolean": true
4554
+ },
4555
+ "poster": {
4556
+ "enum": [
4557
+ {
4558
+ "name": "a non-empty string",
4559
+ "regex": "^.+$"
4560
+ }
4561
+ ]
4562
+ },
4563
+ "preload": {
4564
+ "enum": [
4565
+ "none",
4566
+ "metadata",
4567
+ "auto"
4568
+ ],
4569
+ "omit": true
4570
+ },
4571
+ "src": {
4572
+ "enum": [
4573
+ {
4574
+ "name": "a non-empty string",
4575
+ "regex": "^.+$"
4576
+ }
4577
+ ]
4578
+ },
4579
+ "width": {
4580
+ "enum": [
4581
+ {
4582
+ "name": "a positive integer",
4583
+ "regex": "^\\d+$"
4584
+ }
4585
+ ]
4586
+ }
4587
+ },
4588
+ "embedded": true,
4589
+ "flow": true,
4590
+ "focusable": {
4591
+ "attr": "controls"
4592
+ },
4593
+ "interactive": {
4594
+ "attr": "controls"
4595
+ },
4596
+ "permittedContent": [
4597
+ "@flow",
4598
+ "track",
4599
+ "source"
4600
+ ],
4601
+ "permittedDescendants": [
4602
+ {
4603
+ "exclude": [
4604
+ "audio",
4605
+ "video"
4606
+ ]
4607
+ }
4608
+ ],
4609
+ "permittedOrder": [
4610
+ "source",
4611
+ "track",
4612
+ "@flow"
4613
+ ],
4614
+ "phrasing": true,
4615
+ "transparent": [
4616
+ "@flow"
4617
+ ]
4618
+ },
4619
+ "wbr": {
4620
+ "aria": {
4621
+ "naming": "prohibited"
4622
+ },
4623
+ "flow": true,
4624
+ "phrasing": true,
4625
+ "void": true
4626
+ },
4627
+ "xmp": {
4628
+ "deprecated": {
4629
+ "source": "html32"
4630
+ }
4631
+ }
4632
+ },
4633
+ "global": {
4634
+ "attributes": {
4635
+ "accesskey": {
4636
+ "enum": [
4637
+ {
4638
+ "name": "/./",
4639
+ "regex": "."
4640
+ }
4641
+ ],
4642
+ "list": true
4643
+ },
4644
+ "aria-*": {},
4645
+ "aria-activedescendant": {
4646
+ "enum": [
4647
+ {
4648
+ "name": "a valid id",
4649
+ "regex": "^\\S+$"
4650
+ }
4651
+ ],
4652
+ "reference": "id"
4653
+ },
4654
+ "aria-controls": {
4655
+ "enum": [
4656
+ {
4657
+ "name": "a valid id",
4658
+ "regex": "^\\S+$"
4659
+ }
4660
+ ],
4661
+ "list": true,
4662
+ "reference": "id"
4663
+ },
4664
+ "aria-describedby": {
4665
+ "enum": [
4666
+ {
4667
+ "name": "a valid id",
4668
+ "regex": "^\\S+$"
4669
+ }
4670
+ ],
4671
+ "list": true,
4672
+ "reference": "id"
4673
+ },
4674
+ "aria-details": {
4675
+ "enum": [
4676
+ {
4677
+ "name": "a valid id",
4678
+ "regex": "^\\S+$"
4679
+ }
4680
+ ],
4681
+ "reference": "id"
4682
+ },
4683
+ "aria-errormessage": {
4684
+ "enum": [
4685
+ {
4686
+ "name": "a valid id",
4687
+ "regex": "^\\S+$"
4688
+ }
4689
+ ],
4690
+ "reference": "id"
4691
+ },
4692
+ "aria-flowto": {
4693
+ "enum": [
4694
+ {
4695
+ "name": "a valid id",
4696
+ "regex": "^\\S+$"
4697
+ }
4698
+ ],
4699
+ "list": true,
4700
+ "reference": "id"
4701
+ },
4702
+ "aria-labelledby": {
4703
+ "enum": [
4704
+ {
4705
+ "name": "a valid id",
4706
+ "regex": "^\\S+$"
4707
+ }
4708
+ ],
4709
+ "list": true,
4710
+ "reference": "id"
4711
+ },
4712
+ "aria-owns": {
4713
+ "enum": [
4714
+ {
4715
+ "name": "a valid id",
4716
+ "regex": "^\\S+$"
4717
+ }
4718
+ ],
4719
+ "list": true,
4720
+ "reference": "id"
4721
+ },
4722
+ "autocapitalize": {
4723
+ "enum": [
4724
+ "off",
4725
+ "none",
4726
+ "on",
4727
+ "sentences",
4728
+ "words",
4729
+ "characters"
4730
+ ]
4731
+ },
4732
+ "autocorrect": {
4733
+ "enum": [
4734
+ "on",
4735
+ "off"
4736
+ ],
4737
+ "omit": true
4738
+ },
4739
+ "autofocus": {
4740
+ "boolean": true
4741
+ },
4742
+ "class": {},
4743
+ "contenteditable": {
4744
+ "enum": [
4745
+ "true",
4746
+ "false"
4747
+ ],
4748
+ "omit": true
4749
+ },
4750
+ "contextmenu": {
4751
+ "deprecated": true
4752
+ },
4753
+ "data-*": {},
4754
+ "dir": {
4755
+ "enum": [
4756
+ "ltr",
4757
+ "rtl",
4758
+ "auto"
4759
+ ]
4760
+ },
4761
+ "draggable": {
4762
+ "enum": [
4763
+ "true",
4764
+ "false"
4765
+ ]
4766
+ },
4767
+ "enterkeyhint": {
4768
+ "enum": [
4769
+ "enter",
4770
+ "done",
4771
+ "go",
4772
+ "next",
4773
+ "previous",
4774
+ "search",
4775
+ "send"
4776
+ ]
4777
+ },
4778
+ "exportparts": {},
4779
+ "headingoffset": {
4780
+ "enum": [
4781
+ {
4782
+ "name": "/^[0-8]$/",
4783
+ "regex": "^[0-8]$"
4784
+ }
4785
+ ]
4786
+ },
4787
+ "headingreset": {
4788
+ "boolean": true
4789
+ },
4790
+ "hidden": {
4791
+ "enum": [
4792
+ "hidden",
4793
+ "until-found"
4794
+ ],
4795
+ "omit": true
4796
+ },
4797
+ "id": {
4798
+ "enum": [
4799
+ {
4800
+ "name": "a valid id",
4801
+ "regex": "^\\S+$"
4802
+ }
4803
+ ]
4804
+ },
4805
+ "inert": {
4806
+ "boolean": true
4807
+ },
4808
+ "inputmode": {
4809
+ "enum": [
4810
+ "none",
4811
+ "text",
4812
+ "decimal",
4813
+ "numeric",
4814
+ "tel",
4815
+ "search",
4816
+ "email",
4817
+ "url"
4818
+ ]
4819
+ },
4820
+ "is": {},
4821
+ "itemid": {},
4822
+ "itemprop": {},
4823
+ "itemref": {},
4824
+ "itemscope": {
4825
+ "boolean": true
4826
+ },
4827
+ "itemtype": {},
4828
+ "lang": {},
4829
+ "nonce": {},
4830
+ "on*": {},
4831
+ "part": {},
4832
+ "popover": {
4833
+ "enum": [
4834
+ "auto",
4835
+ "hint",
4836
+ "manual"
4837
+ ],
4838
+ "omit": true
4839
+ },
4840
+ "role": {},
4841
+ "slot": {},
4842
+ "spellcheck": {
4843
+ "enum": [
4844
+ "true",
4845
+ "false"
4846
+ ],
4847
+ "omit": true
4848
+ },
4849
+ "style": {},
4850
+ "tabindex": {
4851
+ "enum": [
4852
+ {
4853
+ "name": "/-?\\d+/",
4854
+ "regex": "^-?\\d+$"
4855
+ }
4856
+ ]
4857
+ },
4858
+ "title": {},
4859
+ "translate": {
4860
+ "enum": [
4861
+ "yes",
4862
+ "no"
4863
+ ],
4864
+ "omit": true
4865
+ },
4866
+ "writingsuggestions": {
4867
+ "enum": [
4868
+ "true",
4869
+ "false"
4870
+ ],
4871
+ "omit": true
4872
+ },
4873
+ "xml:*": {},
4874
+ "xmlns": {
4875
+ "enum": [
4876
+ {
4877
+ "name": "a non-empty string",
4878
+ "regex": "^.+$"
4879
+ }
4880
+ ]
4881
+ },
4882
+ "xmlns:*": {
4883
+ "enum": [
4884
+ {
4885
+ "name": "a non-empty string",
4886
+ "regex": "^.+$"
4887
+ }
4888
+ ]
4889
+ }
4890
+ }
4891
+ }
4892
+ }