-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathhtml.ts
3637 lines (3064 loc) · 188 KB
/
html.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
import { CSSProperties } from "./css.ts";
/**
* All HTML elements
*/
export interface HTMLElements {
/**
* Custom element
*/
[key: string]: unknown;
/**
* If the a element has an href attribute, then it represents a hyperlink (a hypertext anchor) labeled by its contents.
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/a)
*/
a?: A;
/**
* The abbr element represents an abbreviation or acronym, optionally with its expansion. The title attribute may be used to provide an expansion of the abbreviation. The attribute, if specified, must contain an expansion of the abbreviation, and nothing else.
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/abbr)
*/
abbr?: GlobalAttributes;
/**
* The address element represents the contact information for its nearest article or body element ancestor. If that is the body element, then the contact information applies to the document as a whole.
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/address)
*/
address?: GlobalAttributes;
/**
* The area element represents either a hyperlink with some text and a corresponding area on an image map, or a dead area on an image map.
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/area)
*/
area?: Area;
/**
* The article element represents a complete, or self-contained, composition in a document, page, application, or site and that is, in principle, independently distributable or reusable, e.g. in syndication. This could be a forum post, a magazine or newspaper article, a blog entry, a user-submitted comment, an interactive widget or gadget, or any other independent item of content. Each article should be identified, typically by including a heading (h1–h6 element) as a child of the article element.
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/article)
*/
article?: GlobalAttributes;
/**
* The aside element represents a section of a page that consists of content that is tangentially related to the content around the aside element, and which could be considered separate from that content. Such sections are often represented as sidebars in printed typography.
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/aside)
*/
aside?: GlobalAttributes;
/**
* An audio element represents a sound or audio stream.
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/audio)
*/
audio?: Audio;
/**
* The b element represents a span of text to which attention is being drawn for utilitarian purposes without conveying any extra importance and with no implication of an alternate voice or mood, such as key words in a document abstract, product names in a review, actionable words in interactive text-driven software, or an article lede.
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/b)
*/
b?: GlobalAttributes;
/**
* The base element allows authors to specify the document base URL for the purposes of resolving relative URLs, and the name of the default browsing context for the purposes of following hyperlinks. The element does not represent any content beyond this information.
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/base)
*/
base?: Base;
/**
* The bdi element represents a span of text that is to be isolated from its surroundings for the purposes of bidirectional text formatting. [BIDI]
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/bdi)
*/
bdi?: GlobalAttributes;
/**
* The bdo element represents explicit text directionality formatting control for its children. It allows authors to override the Unicode bidirectional algorithm by explicitly specifying a direction override. [BIDI]
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/bdo)
*/
bdo?: GlobalAttributes;
/**
* The blockquote element represents content that is quoted from another source, optionally with a citation which must be within a footer or cite element, and optionally with in-line changes such as annotations and abbreviations.
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/blockquote)
*/
blockquote?: Blockquote;
/**
* The body element represents the content of the document.
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/body)
*/
body?: Body;
/**
* The br element represents a line break.
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/br)
*/
br?: Br;
/**
* The button element represents a button labeled by its contents.
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/button)
*/
button?: Button;
/**
* The canvas element provides scripts with a resolution-dependent bitmap canvas, which can be used for rendering graphs, game graphics, art, or other visual images on the fly.
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/canvas)
*/
canvas?: Canvas;
/**
* The caption element represents the title of the table that is its parent, if it has a parent and that is a table element.
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/caption)
*/
caption?: Caption;
/**
* The cite element represents a reference to a creative work. It must include the title of the work or the name of the author(person, people or organization) or an URL reference, or a reference in abbreviated form as per the conventions used for the addition of citation metadata.
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/cite)
*/
cite?: GlobalAttributes;
/**
* The code element represents a fragment of computer code. This could be an XML element name, a file name, a computer program, or any other string that a computer would recognize.
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/code)
*/
code?: GlobalAttributes;
/**
* If a col element has a parent and that is a colgroup element that itself has a parent that is a table element, then the col element represents one or more columns in the column group represented by that colgroup.
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/col)
*/
col?: Col;
/**
* The colgroup element represents a group of one or more columns in the table that is its parent, if it has a parent and that is a table element.
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/colgroup)
*/
colgroup?: Colgroup;
/**
* The data element links a given piece of content with a machine-readable translation.
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/data)
*/
data?: Data;
/**
* The datalist element represents a set of option elements that represent predefined options for other controls. In the rendering, the datalist element represents nothing and it, along with its children, should be hidden.
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/datalist)
*/
datalist?: GlobalAttributes;
/**
* The dd element represents the description, definition, or value, part of a term-description group in a description list (dl element).
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/dd)
*/
dd?: Dd;
/**
* The del element represents a removal from the document.
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/del)
*/
del?: Del;
/**
* The details element represents a disclosure widget from which the user can obtain additional information or controls.
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/details)
*/
details?: Details;
/**
* The dfn element represents the defining instance of a term. The paragraph, description list group, or section that is the nearest ancestor of the dfn element must also contain the definition(s) for the term given by the dfn element.
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/dfn)
*/
dfn?: GlobalAttributes;
/**
* The dialog element represents a part of an application that a user interacts with to perform a task, for example a dialog box, inspector, or window.
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/dialog)
*/
dialog?: Dialog;
/**
* The div element has no special meaning at all. It represents its children. It can be used with the class, lang, and title attributes to mark up semantics common to a group of consecutive elements.
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/div)
*/
div?: GlobalAttributes;
/**
* The dl element represents an association list consisting of zero or more name-value groups (a description list). A name-value group consists of one or more names (dt elements) followed by one or more values (dd elements), ignoring any nodes other than dt and dd elements. Within a single dl element, there should not be more than one dt element for each name.
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/dl)
*/
dl?: GlobalAttributes;
/**
* The dt element represents the term, or name, part of a term-description group in a description list (dl element).
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/dt)
*/
dt?: GlobalAttributes;
/**
* The em element represents stress emphasis of its contents.
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/em)
*/
em?: GlobalAttributes;
/**
* The embed element provides an integration point for an external (typically non-HTML) application or interactive content.
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/embed)
*/
embed?: Embed;
/**
* The fieldset element represents a set of form controls optionally grouped under a common name.
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/fieldset)
*/
fieldset?: Fieldset;
/**
* The figcaption element represents a caption or legend for the rest of the contents of the figcaption element's parent figure element, if any.
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/figcaption)
*/
figcaption?: GlobalAttributes;
/**
* The figure element represents some flow content, optionally with a caption, that is self-contained (like a complete sentence) and is typically referenced as a single unit from the main flow of the document.
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/figure)
*/
figure?: GlobalAttributes;
/**
* The footer element represents a footer for its nearest ancestor sectioning content or sectioning root element. A footer typically contains information about its section such as who wrote it, links to related documents, copyright data, and the like.
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/footer)
*/
footer?: GlobalAttributes;
/**
* The form element represents a collection of form-associated elements, some of which can represent editable values that can be submitted to a server for processing.
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/form)
*/
form?: Form;
/**
* The h1 element represents a section heading.
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/Heading_Elements)
*/
h1?: GlobalAttributes;
/**
* The h2 element represents a section heading.
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/Heading_Elements)
*/
h2?: GlobalAttributes;
/**
* The h3 element represents a section heading.
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/Heading_Elements)
*/
h3?: GlobalAttributes;
/**
* The h4 element represents a section heading.
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/Heading_Elements)
*/
h4?: GlobalAttributes;
/**
* The h5 element represents a section heading.
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/Heading_Elements)
*/
h5?: GlobalAttributes;
/**
* The h6 element represents a section heading.
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/Heading_Elements)
*/
h6?: GlobalAttributes;
/**
* The head element represents a collection of metadata for the Document.
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/head)
*/
head?: Head;
/**
* The header element represents introductory content for its nearest ancestor sectioning content or sectioning root element. A header typically contains a group of introductory or navigational aids. When the nearest ancestor sectioning content or sectioning root element is the body element, then it applies to the whole page.
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/header)
*/
header?: GlobalAttributes;
/**
* The hgroup element represents a heading and related content. It groups a single h1–h6 element with one or more p.
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/hgroup)
*/
hgroup?: GlobalAttributes;
/**
* The hr element represents a paragraph-level thematic break, e.g. a scene change in a story, or a transition to another topic within a section of a reference book.
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/hr)
*/
hr?: Hr;
/**
* The html element represents the root of an HTML document.
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/html)
*/
html?: Html;
/**
* The i element represents a span of text in an alternate voice or mood, or otherwise offset from the normal prose in a manner indicating a different quality of text, such as a taxonomic designation, a technical term, an idiomatic phrase from another language, transliteration, a thought, or a ship name in Western texts.
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/i)
*/
i?: GlobalAttributes;
/**
* The iframe element represents a nested browsing context.
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/iframe)
*/
iframe?: Iframe;
/**
* An img element represents an image.
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/img)
*/
img?: Img;
/**
* The input element represents a typed data field, usually with a form control to allow the user to edit the data.
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/input)
*/
input?: Input;
/**
* The ins element represents an addition to the document.
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/ins)
*/
ins?: Ins;
/**
* The kbd element represents user input (typically keyboard input, although it may also be used to represent other input, such as voice commands).
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/kbd)
*/
kbd?: GlobalAttributes;
/**
* The label element represents a caption in a user interface. The caption can be associated with a specific form control, known as the label element's labeled control, either using the for attribute, or by putting the form control inside the label element itself.
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/label)
*/
label?: Label;
/**
* The legend element represents a caption for the rest of the contents of the legend element's parent fieldset element, if any.
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/legend)
*/
legend?: GlobalAttributes;
/**
* The li element represents a list item. If its parent element is an ol, ul, or menu element, then the element is an item of the parent element's list, as defined for those elements. Otherwise, the list item has no defined list-related relationship to any other li element.
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/li)
*/
li?: Li;
/**
* The link element allows authors to link their document to other resources.
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/link)
*/
link?: Link;
/**
* The main element represents the main content of the body of a document or application. The main content area consists of content that is directly related to or expands upon the central topic of a document or central functionality of an application.
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/main)
*/
main?: GlobalAttributes;
/**
* The map element, in conjunction with an img element and any area element descendants, defines an image map. The element represents its children.
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/map)
*/
map?: Map;
/**
* The mark element represents a run of text in one document marked or highlighted for reference purposes, due to its relevance in another context. When used in a quotation or other block of text referred to from the prose, it indicates a highlight that was not originally present but which has been added to bring the reader's attention to a part of the text that might not have been considered important by the original author when the block was originally written, but which is now under previously unexpected scrutiny. When used in the main prose of a document, it indicates a part of the document that has been highlighted due to its likely relevance to the user's current activity.
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/mark)
*/
mark?: GlobalAttributes;
/**
* The menu element represents an unordered list of interactive items.
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/menu)
*/
menu?: GlobalAttributes;
/**
* The meta element represents various kinds of metadata that cannot be expressed using the title, base, link, style, and script elements.
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/meta)
*/
meta?: Meta;
/**
* The meter element represents a scalar measurement within a known range, or a fractional value; for example disk usage, the relevance of a query result, or the fraction of a voting population to have selected a particular candidate.
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/meter)
*/
meter?: Meter;
/**
* The nav element represents a section of a page that links to other pages or to parts within the page: a section with navigation links.
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/nav)
*/
nav?: GlobalAttributes;
/**
* The noscript element represents nothing if scripting is enabled, and represents its children if scripting is disabled. It is used to present different markup to user agents that support scripting and those that don't support scripting, by affecting how the document is parsed.
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/noscript)
*/
noscript?: GlobalAttributes;
/**
* The object element can represent an external resource, which, depending on the type of the resource, will either be treated as an image, as a nested browsing context, or as an external resource to be processed by a plugin.
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/object)
*/
object?: Object;
/**
* The ol element represents a list of items, where the items have been intentionally ordered, such that changing the order would change the meaning of the document.
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/ol)
*/
ol?: Ol;
/**
* The optgroup element represents a group of option elements with a common label.
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/optgroup)
*/
optgroup?: Optgroup;
/**
* The option element represents an option in a select element or as part of a list of suggestions in a datalist element.
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/option)
*/
option?: Option;
/**
* The output element represents the result of a calculation performed by the application, or the result of a user action.
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/output)
*/
output?: Output;
/**
* The p element represents a paragraph.
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/p)
*/
p?: GlobalAttributes;
/**
* The param element defines parameters for plugins invoked by object elements. It does not represent anything on its own.
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/param)
*/
param?: Param;
/**
* The picture element is a container which provides multiple sources to its contained img element to allow authors to declaratively control or give hints to the user agent about which image resource to use, based on the screen pixel density, viewport size, image format, and other factors. It represents its children.
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/picture)
*/
picture?: GlobalAttributes;
/**
* The pre element represents a block of preformatted text, in which structure is represented by typographic conventions rather than by elements.
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/pre)
*/
pre?: Pre;
/**
* The progress element represents the completion progress of a task. The progress is either indeterminate, indicating that progress is being made but that it is not clear how much more work remains to be done before the task is complete (e.g. because the task is waiting for a remote host to respond), or the progress is a number in the range zero to a maximum, giving the fraction of work that has so far been completed.
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/progress)
*/
progress?: Progress;
/**
* The q element represents some phrasing content quoted from another source.
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/q)
*/
q?: Q;
/**
* The rb element marks the base text component of a ruby annotation. When it is the child of a ruby element, it doesn't represent anything itself, but its parent ruby element uses it as part of determining what it represents.
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/rb)
*/
rb?: GlobalAttributes;
/**
* The rp element is used to provide fallback text to be shown by user agents that don't support ruby annotations. One widespread convention is to provide parentheses around the ruby text component of a ruby annotation.
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/rp)
*/
rp?: GlobalAttributes;
/**
* The rt element marks the ruby text component of a ruby annotation. When it is the child of a ruby element or of an rtc element that is itself the child of a ruby element, it doesn't represent anything itself, but its ancestor ruby element uses it as part of determining what it represents.
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/rt)
*/
rt?: GlobalAttributes;
/**
* The ruby element allows one or more spans of phrasing content to be marked with ruby annotations. Ruby annotations are short runs of text presented alongside base text, primarily used in East Asian typography as a guide for pronunciation or to include other annotations. In Japanese, this form of typography is also known as furigana. Ruby text can appear on either side, and sometimes both sides, of the base text, and it is possible to control its position using CSS. A more complete introduction to ruby can be found in the Use Cases & Exploratory Approaches for Ruby Markup document as well as in CSS Ruby Module Level 1. [RUBY-UC] [CSSRUBY]
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/ruby)
*/
ruby?: GlobalAttributes;
/**
* The s element represents contents that are no longer accurate or no longer relevant.
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/s)
*/
s?: GlobalAttributes;
/**
* The samp element represents sample or quoted output from another program or computing system.
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/samp)
*/
samp?: GlobalAttributes;
/**
* The script element allows authors to include dynamic script and data blocks in their documents. The element does not represent content for the user.
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/script)
*/
script?: Script;
/**
* The section element represents a generic section of a document or application. A section, in this context, is a thematic grouping of content. Each section should be identified, typically by including a heading ( h1- h6 element) as a child of the section element.
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/section)
*/
section?: GlobalAttributes;
/**
* The select element represents a control for selecting amongst a set of options.
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/select)
*/
select?: Select;
/**
* The slot element is a placeholder inside a web component that you can fill with your own markup, which lets you create separate DOM trees and present them together.
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/slot)
*/
slot?: Slot;
/**
* The small element represents side comments such as small print.
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/small)
*/
small?: GlobalAttributes;
/**
* The source element allows authors to specify multiple alternative media resources for media elements. It does not represent anything on its own.
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/source)
*/
source?: Source;
/**
* The span element doesn't mean anything on its own, but can be useful when used together with the global attributes, e.g. class, lang, or dir. It represents its children.
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/span)
*/
span?: GlobalAttributes;
/**
* The strong element represents strong importance, seriousness, or urgency for its contents.
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/strong)
*/
strong?: GlobalAttributes;
/**
* The style element allows authors to embed style information in their documents. The style element is one of several inputs to the styling processing model. The element does not represent content for the user.
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/style)
*/
style?: Style;
/**
* The sub element represents a subscript.
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/sub)
*/
sub?: GlobalAttributes;
/**
* The summary element represents a summary, caption, or legend for the rest of the contents of the summary element's parent details element, if any.
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/summary)
*/
summary?: GlobalAttributes;
/**
* The sup element represents a superscript.
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/sup)
*/
sup?: GlobalAttributes;
/**
* The table element represents data with more than one dimension, in the form of a table.
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/table)
*/
table?: Table;
/**
* The tbody element represents a block of rows that consist of a body of data for the parent table element, if the tbody element has a parent and it is a table.
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/tbody)
*/
tbody?: Tbody;
/**
* The td element represents a data cell in a table.
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/td)
*/
td?: Td;
/**
* The template element is used to declare fragments of HTML that can be cloned and inserted in the document by script.
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/template)
*/
template?: GlobalAttributes;
/**
* The textarea element represents a multiline plain text edit control for the element's raw value. The contents of the control represent the control's default value.
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/textarea)
*/
textarea?: Textarea;
/**
* The tfoot element represents the block of rows that consist of the column summaries (footers) for the parent table element, if the tfoot element has a parent and it is a table.
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/tfoot)
*/
tfoot?: Tfoot;
/**
* The th element represents a header cell in a table.
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/th)
*/
th?: Th;
/**
* The thead element represents the block of rows that consist of the column labels (headers) for the parent table element, if the thead element has a parent and it is a table.
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/thead)
*/
thead?: Thead;
/**
* The time element represents its contents, along with a machine-readable form of those contents in the datetime attribute. The kind of content is limited to various kinds of dates, times, time-zone offsets, and durations, as described below.
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/time)
*/
time?: Time;
/**
* The title element represents the document's title or name. Authors should use titles that identify their documents even when they are used out of context, for example in a user's history or bookmarks, or in search results. The document's title is often different from its first heading, since the first heading does not have to stand alone when taken out of context.
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/title)
*/
title?: GlobalAttributes;
/**
* The tr element represents a row of cells in a table.
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/tr)
*/
tr?: Tr;
/**
* The track element allows authors to specify explicit external timed text tracks for media elements. It does not represent anything on its own.
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/track)
*/
track?: Track;
/**
* The u element represents a span of text with an unarticulated, though explicitly rendered, non-textual annotation, such as labeling the text as being a proper name in Chinese text (a Chinese proper name mark), or labeling the text as being misspelt.
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/u)
*/
u?: GlobalAttributes;
/**
* The ul element represents a list of items, where the order of the items is not important — that is, where changing the order would not materially change the meaning of the document.
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/ul)
*/
ul?: Ul;
/**
* The var element represents a variable. This could be an actual variable in a mathematical expression or programming context, an identifier representing a constant, a symbol identifying a physical quantity, a function parameter, or just be a term used as a placeholder in prose.
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/var)
*/
var?: GlobalAttributes;
/**
* A video element is used for playing videos or movies, and audio files with captions.
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/video)
*/
video?: Video;
/**
* The wbr element represents a line break opportunity.
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/wbr)
*/
wbr?: GlobalAttributes;
}
/**
* Global attributes are attributes common to all HTML elements; they can be used on all elements, though they may have no effect on some elements.
*/
interface GlobalAttributes {
/**
* Custom attribute
*/
// deno-lint-ignore no-explicit-any
[key: string]: any;
/**
* Provides a hint for generating a keyboard shortcut for the current element. This attribute consists of a space-separated list of characters. The browser should use the first one that exists on the computer keyboard layout.
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Global_attributes/accesskey)
*/
accesskey?: string;
/**
* Identifies the currently active element when DOM focus is on a [`composite`](https://www.w3.org/TR/wai-aria-1.1/#composite) widget, [`textbox`](https://www.w3.org/TR/wai-aria-1.1/#textbox), [`group`](https://www.w3.org/TR/wai-aria-1.1/#group), or [`application`](https://www.w3.org/TR/wai-aria-1.1/#application).
* @see [WAI-ARIA Reference](https://www.w3.org/TR/wai-aria-1.1/#aria-activedescendant)
*/
"aria-activedescendant"?: string;
/**
* Indicates whether [assistive technologies](https://www.w3.org/TR/wai-aria-1.1/#dfn-assistive-technology) will present all, or only parts of, the changed region based on the change notifications defined by the [`aria-relevant`](https://www.w3.org/TR/wai-aria-1.1/#aria-relevant) attribute.
* @see [WAI-ARIA Reference](https://www.w3.org/TR/wai-aria-1.1/#aria-atomic)
*/
"aria-atomic"?: "true" | "false";
/**
* Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for an input and specifies how predictions would be presented if they are made.
* @see [WAI-ARIA Reference](https://www.w3.org/TR/wai-aria-1.1/#aria-autocomplete)
*/
"aria-autocomplete"?: "inline" | "list" | "both" | "none";
/**
* Indicates an element is being modified and that assistive technologies _MAY_ want to wait until the modifications are complete before exposing them to the user.
* @see [WAI-ARIA Reference](https://www.w3.org/TR/wai-aria-1.1/#aria-busy)
*/
"aria-busy"?: "true" | "false";
/**
* Indicates the current "checked" [state](https://www.w3.org/TR/wai-aria-1.1/#dfn-state) of checkboxes, radio buttons, and other [widgets](https://www.w3.org/TR/wai-aria-1.1/#dfn-widget). See related [`aria-pressed`](https://www.w3.org/TR/wai-aria-1.1/#aria-pressed) and [`aria-selected`](https://www.w3.org/TR/wai-aria-1.1/#aria-selected).
* @see [WAI-ARIA Reference](https://www.w3.org/TR/wai-aria-1.1/#aria-checked)
*/
"aria-checked"?: "true" | "false" | "mixed" | "undefined";
/**
* Defines the total number of columns in a [`table`](https://www.w3.org/TR/wai-aria-1.1/#table), [`grid`](https://www.w3.org/TR/wai-aria-1.1/#grid), or [`treegrid`](https://www.w3.org/TR/wai-aria-1.1/#treegrid). See related [`aria-colindex`](https://www.w3.org/TR/wai-aria-1.1/#aria-colindex).
* @see [WAI-ARIA Reference](https://www.w3.org/TR/wai-aria-1.1/#aria-colcount)
*/
"aria-colcount"?: string;
/**
* Defines an [element's](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) column index or position with respect to the total number of columns within a [`table`](https://www.w3.org/TR/wai-aria-1.1/#table), [`grid`](https://www.w3.org/TR/wai-aria-1.1/#grid), or [`treegrid`](https://www.w3.org/TR/wai-aria-1.1/#treegrid). See related [`aria-colcount`](https://www.w3.org/TR/wai-aria-1.1/#aria-colcount) and [`aria-colspan`](https://www.w3.org/TR/wai-aria-1.1/#aria-colspan).
* @see [WAI-ARIA Reference](https://www.w3.org/TR/wai-aria-1.1/#aria-colindex)
*/
"aria-colindex"?: string;
/**
* Defines the number of columns spanned by a cell or gridcell within a [`table`](https://www.w3.org/TR/wai-aria-1.1/#table), [`grid`](https://www.w3.org/TR/wai-aria-1.1/#grid), or [`treegrid`](https://www.w3.org/TR/wai-aria-1.1/#treegrid). See related [`aria-colindex`](https://www.w3.org/TR/wai-aria-1.1/#aria-colindex) and [`aria-rowspan`](https://www.w3.org/TR/wai-aria-1.1/#aria-rowspan).
* @see [WAI-ARIA Reference](https://www.w3.org/TR/wai-aria-1.1/#aria-colspan)
*/
"aria-colspan"?: string;
/**
* Identifies the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) (or elements) whose contents or presence are controlled by the current element. See related [`aria-owns`](https://www.w3.org/TR/wai-aria-1.1/#aria-owns).
* @see [WAI-ARIA Reference](https://www.w3.org/TR/wai-aria-1.1/#aria-controls)
*/
"aria-controls"?: string;
/**
* Indicates the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) that represents the current item within a container or set of related elements.
* @see [WAI-ARIA Reference](https://www.w3.org/TR/wai-aria-1.1/#aria-current)
*/
"aria-current"?:
| "page"
| "step"
| "location"
| "date"
| "time"
| "true"
| "false";
/**
* Identifies the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) (or elements) that describes the [object](https://www.w3.org/TR/wai-aria-1.1/#dfn-object). See related [`aria-labelledby`](https://www.w3.org/TR/wai-aria-1.1/#aria-labelledby).
* @see [WAI-ARIA Reference](https://www.w3.org/TR/wai-aria-1.1/#aria-describedby)
*/
"aria-describedby"?: string;
/**
* Identifies the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) that provides a detailed, extended description for the [object](https://www.w3.org/TR/wai-aria-1.1/#dfn-object). See related [`aria-describedby`](https://www.w3.org/TR/wai-aria-1.1/#aria-describedby).
*/
"aria-details"?: string;
/**
* Indicates that the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) is [perceivable](https://www.w3.org/TR/wai-aria-1.1/#dfn-perceivable) but disabled, so it is not editable or otherwise [operable](https://www.w3.org/TR/wai-aria-1.1/#dfn-operable). See related [`aria-hidden`](https://www.w3.org/TR/wai-aria-1.1/#aria-hidden) and [`aria-readonly`](https://www.w3.org/TR/wai-aria-1.1/#aria-readonly).
* @see [WAI-ARIA Reference](https://www.w3.org/TR/wai-aria-1.1/#aria-disabled)
*/
"aria-disabled"?: "true" | "false";
/**
* \[Deprecated in ARIA 1.1\] Indicates what functions can be performed when a dragged object is released on the drop target.
* @see [WAI-ARIA Reference](https://www.w3.org/TR/wai-aria-1.1/#aria-dropeffect)
*/
"aria-dropeffect"?: "copy" | "move" | "link" | "execute" | "popup" | "none";
/**
* Identifies the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) that provides an error message for the [object](https://www.w3.org/TR/wai-aria-1.1/#dfn-object). See related [`aria-invalid`](https://www.w3.org/TR/wai-aria-1.1/#aria-invalid) and [`aria-describedby`](https://www.w3.org/TR/wai-aria-1.1/#aria-describedby).
* @see [WAI-ARIA Reference](https://www.w3.org/TR/wai-aria-1.1/#aria-errormessage)
*/
"aria-errormessage"?: string;
/**
* Indicates whether the element, or another grouping element it controls, is currently expanded or collapsed.
* @see [WAI-ARIA Reference](https://www.w3.org/TR/wai-aria-1.1/#aria-expanded)
*/
"aria-expanded"?: "true" | "false" | "undefined";
/**
* Identifies the next [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order.
* @see [WAI-ARIA Reference](https://www.w3.org/TR/wai-aria-1.1/#aria-flowto)
*/
"aria-flowto"?: string;
/**
* \[Deprecated in ARIA 1.1\] Indicates an element's "grabbed" [state](https://www.w3.org/TR/wai-aria-1.1/#dfn-state) in a drag-and-drop operation.
* @see [WAI-ARIA Reference](https://www.w3.org/TR/wai-aria-1.1/#aria-grabbed)
*/
"aria-grabbed"?: "true" | "false" | "undefined";
/**
* Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element).
* @see [WAI-ARIA Reference](https://www.w3.org/TR/wai-aria-1.1/#aria-haspopup)
*/
"aria-haspopup"?:
| "false"
| "true"
| "menu"
| "listbox"
| "tree"
| "grid"
| "dialog";
/**
* Indicates whether the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) is exposed to an accessibility API. See related [`aria-disabled`](https://www.w3.org/TR/wai-aria-1.1/#aria-disabled).
* @see [WAI-ARIA Reference](https://www.w3.org/TR/wai-aria-1.1/#aria-hidden)
*/
"aria-hidden"?: "true" | "false";
/**
* Indicates the entered value does not conform to the format expected by the application. See related [`aria-errormessage`](https://www.w3.org/TR/wai-aria-1.1/#aria-errormessage).
* @see [WAI-ARIA Reference](https://www.w3.org/TR/wai-aria-1.1/#aria-invalid)
*/
"aria-invalid"?: "grammar" | "false" | "spelling" | "true";
/**
* Indicates keyboard shortcuts that an author has implemented to activate or give focus to an element.
*/
"aria-keyshortcuts"?: string;
/**
* Defines a string value that labels the current element. See related [`aria-labelledby`](https://www.w3.org/TR/wai-aria-1.1/#aria-labelledby).
* @see [WAI-ARIA Reference](https://www.w3.org/TR/wai-aria-1.1/#aria-label)
*/
"aria-label"?: string;
/**
* Identifies the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) (or elements) that labels the current element. See related [`aria-describedby`](https://www.w3.org/TR/wai-aria-1.1/#aria-describedby).
* @see [WAI-ARIA Reference](https://www.w3.org/TR/wai-aria-1.1/#aria-labelledby)
*/
"aria-labelledby"?: string;
/**
* Defines the hierarchical level of an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) within a structure.
* @see [WAI-ARIA Reference](https://www.w3.org/TR/wai-aria-1.1/#aria-level)
*/
"aria-level"?: string;
/**
* Indicates that an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) will be updated, and describes the types of updates the [user agents](https://www.w3.org/TR/wai-aria-1.1/#dfn-user-agent), [assistive technologies](https://www.w3.org/TR/wai-aria-1.1/#dfn-assistive-technology), and user can expect from the [live region](https://www.w3.org/TR/wai-aria-1.1/#dfn-live-region).
* @see [WAI-ARIA Reference](https://www.w3.org/TR/wai-aria-1.1/#aria-live)
*/
"aria-live"?: "off" | "polite" | "assertive";
/**
* Indicates whether an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) is modal when displayed.
* @see [WAI-ARIA Reference](https://www.w3.org/TR/wai-aria-1.1/#aria-modal)
*/
"aria-modal"?: "true" | "false";
/**
* Indicates whether a text box accepts multiple lines of input or only a single line.
* @see [WAI-ARIA Reference](https://www.w3.org/TR/wai-aria-1.1/#aria-multiline)
*/
"aria-multiline"?: "true" | "false";
/**
* Indicates that the user may select more than one item from the current selectable descendants.
* @see [WAI-ARIA Reference](https://www.w3.org/TR/wai-aria-1.1/#aria-multiselectable)
*/
"aria-multiselectable"?: "true" | "false";
/**
* Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous.
* @see [WAI-ARIA Reference](https://www.w3.org/TR/wai-aria-1.1/#aria-orientation)
*/
"aria-orientation"?: "vertical" | "horizontal" | "undefined";
/**
* Identifies an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) (or elements) in order to define a visual, functional, or contextual parent/child [relationship](https://www.w3.org/TR/wai-aria-1.1/#dfn-relationship) between DOM elements where the DOM hierarchy cannot be used to represent the relationship. See related [`aria-controls`](https://www.w3.org/TR/wai-aria-1.1/#aria-controls).
* @see [WAI-ARIA Reference](https://www.w3.org/TR/wai-aria-1.1/#aria-owns)
*/
"aria-owns"?: string;
/**
* Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value. A hint could be a sample value or a brief description of the expected format.
* @see [WAI-ARIA Reference](https://www.w3.org/TR/wai-aria-1.1/#aria-placeholder)
*/
"aria-placeholder"?: number | string;
/**
* Defines an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element)'s number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related [`aria-setsize`](https://www.w3.org/TR/wai-aria-1.1/#aria-setsize).
* @see [WAI-ARIA Reference](https://www.w3.org/TR/wai-aria-1.1/#aria-posinset)
*/
"aria-posinset"?: string;
/**
* Indicates the current "pressed" [state](https://www.w3.org/TR/wai-aria-1.1/#dfn-state) of toggle buttons. See related [`aria-checked`](https://www.w3.org/TR/wai-aria-1.1/#aria-checked) and [`aria-selected`](https://www.w3.org/TR/wai-aria-1.1/#aria-selected).
* @see [WAI-ARIA Reference](https://www.w3.org/TR/wai-aria-1.1/#aria-pressed)
*/
"aria-pressed"?: "true" | "false" | "mixed" | "undefined";
/**
* Indicates that the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) is not editable, but is otherwise [operable](https://www.w3.org/TR/wai-aria-1.1/#dfn-operable). See related [`aria-disabled`](https://www.w3.org/TR/wai-aria-1.1/#aria-disabled).
* @see [WAI-ARIA Reference](https://www.w3.org/TR/wai-aria-1.1/#aria-readonly)
*/
"aria-readonly"?: "true" | "false";
/**
* Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. See related [`aria-atomic`](https://www.w3.org/TR/wai-aria-1.1/#aria-atomic).
* @see [WAI-ARIA Reference](https://www.w3.org/TR/wai-aria-1.1/#aria-relevant)
*/
"aria-relevant"?:
| "additions"
| "removals"
| "text"
| "all"
| "additions text";
/**
* Indicates that user input is required on the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) before a form may be submitted.
* @see [WAI-ARIA Reference](https://www.w3.org/TR/wai-aria-1.1/#aria-required)
*/
"aria-required"?: "true" | "false";
/**
* Defines a human-readable, author-localized description for the [role](https://www.w3.org/TR/wai-aria-1.1/#dfn-role) of an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element).
* @see [WAI-ARIA Reference](https://www.w3.org/TR/wai-aria-1.1/#aria-roledescription)
*/
"aria-roledescription"?: string;
/**
* Defines the total number of rows in a [`table`](https://www.w3.org/TR/wai-aria-1.1/#table), [`grid`](https://www.w3.org/TR/wai-aria-1.1/#grid), or [`treegrid`](https://www.w3.org/TR/wai-aria-1.1/#treegrid). See related [`aria-rowindex`](https://www.w3.org/TR/wai-aria-1.1/#aria-rowindex).
* @see [WAI-ARIA Reference](https://www.w3.org/TR/wai-aria-1.1/#aria-rowcount)
*/
"aria-rowcount"?: number | string;
/**
* Defines an [element's](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) row index or position with respect to the total number of rows within a [`table`](https://www.w3.org/TR/wai-aria-1.1/#table), [`grid`](https://www.w3.org/TR/wai-aria-1.1/#grid), or [`treegrid`](https://www.w3.org/TR/wai-aria-1.1/#treegrid). See related [`aria-rowcount`](https://www.w3.org/TR/wai-aria-1.1/#aria-rowcount) and [`aria-rowspan`](https://www.w3.org/TR/wai-aria-1.1/#aria-rowspan).
* @see [WAI-ARIA Reference](https://www.w3.org/TR/wai-aria-1.1/#aria-rowindex)
*/
"aria-rowindex"?: number | string;
/**
* Defines the number of rows spanned by a cell or gridcell within a [`table`](https://www.w3.org/TR/wai-aria-1.1/#table), [`grid`](https://www.w3.org/TR/wai-aria-1.1/#grid), or [`treegrid`](https://www.w3.org/TR/wai-aria-1.1/#treegrid). See related [`aria-rowindex`](https://www.w3.org/TR/wai-aria-1.1/#aria-rowindex) and [`aria-colspan`](https://www.w3.org/TR/wai-aria-1.1/#aria-colspan).
* @see [WAI-ARIA Reference](https://www.w3.org/TR/wai-aria-1.1/#aria-rowspan)
*/
"aria-rowspan"?: number | string;
/**
* Indicates the current "selected" [state](https://www.w3.org/TR/wai-aria-1.1/#dfn-state) of various [widgets](https://www.w3.org/TR/wai-aria-1.1/#dfn-widget). See related [`aria-checked`](https://www.w3.org/TR/wai-aria-1.1/#aria-checked) and [`aria-pressed`](https://www.w3.org/TR/wai-aria-1.1/#aria-pressed).
* @see [WAI-ARIA Reference](https://www.w3.org/TR/wai-aria-1.1/#aria-selected)
*/
"aria-selected"?: "true" | "false" | "undefined";
/**
* Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related [`aria-posinset`](https://www.w3.org/TR/wai-aria-1.1/#aria-posinset).
* @see [WAI-ARIA Reference](https://www.w3.org/TR/wai-aria-1.1/#aria-setsize)
*/
"aria-setsize"?: number | string;
/**
* Indicates if items in a table or grid are sorted in ascending or descending order.
* @see [WAI-ARIA Reference](https://www.w3.org/TR/wai-aria-1.1/#aria-sort)
*/
"aria-sort"?: "ascending" | "descending" | "none" | "other";
/**
* Defines the maximum allowed value for a range [widget](https://www.w3.org/TR/wai-aria-1.1/#dfn-widget).
* @see [WAI-ARIA Reference](https://www.w3.org/TR/wai-aria-1.1/#aria-valuemax)
*/
"aria-valuemax"?: number | string;
/**
* Defines the minimum allowed value for a range [widget](https://www.w3.org/TR/wai-aria-1.1/#dfn-widget).
* @see [WAI-ARIA Reference](https://www.w3.org/TR/wai-aria-1.1/#aria-valuemin)
*/
"aria-valuemin"?: number | string;
/**