@@ -34,26 +34,26 @@ type domProps = {
3434 /* accessibility */ 
3535 /* https://www.w3.org/TR/wai-aria-1.1/ */ 
3636 /* https://accessibilityresources.org/<aria-tag> is a great resource for these */ 
37-  /* [@optional] [@as  "aria-current"]  ariaCurrent: page|step|location|date|time|true| false, */ 
37+  @ as ( "aria-current" )  ariaCurrent : [ # page# step# location# date# time# \ " true" | # \ " false" ], 
3838 @as ("aria-details" )
3939 ariaDetails ?: string ,
4040 @as ("aria-disabled" )
4141 ariaDisabled ?: bool ,
4242 @as ("aria-hidden" )
4343 ariaHidden ?: bool ,
44-  /* [@optional] [@as  "aria-invalid"]  ariaInvalid: grammar|false| spelling|true, */ 
44+  @ as ( "aria-invalid" )  ariaInvalid : [ # grammar# spelling# " \ t" | # \ "false" ], 
4545 @as ("aria-keyshortcuts" )
4646 ariaKeyshortcuts ?: string ,
4747 @as ("aria-label" )
4848 ariaLabel ?: string ,
4949 @as ("aria-roledescription" )
5050 ariaRoledescription ?: string ,
5151 /* Widget Attributes */ 
52-  /* [@optional] [@as  "aria-autocomplete"]  ariaAutocomplete: inline|list|both|none, */ 
53-  /* [@optional] [@as  "aria-checked"]  ariaChecked: true| false| mixed, /* https://www.w3.org/TR/wai-aria-1.1/#valuetype_tristate */   */
52+  @ as ( "aria-autocomplete" )  ariaAutocomplete : [ # inline# list# both# none], 
53+  @ as ( "aria-checked" )  ariaChecked : [ # \ " true" | # \ " false" | # \ " mixed" ] , /* https://www.w3.org/TR/wai-aria-1.1/#valuetype_tristate */ 
5454 @as ("aria-expanded" )
5555 ariaExpanded ?: bool ,
56-  /* [@optional] [@as  "aria-haspopup"]  ariaHaspopup: false|true| menu|listbox|tree|grid|dialog, */ 
56+  @ as ( "aria-haspopup" )  ariaHaspopup : [ # menu# listbox# tree# grid# dialog| # " \t rue" | # " \f alse" ], 
5757 @as ("aria-level" )
5858 ariaLevel ?: int ,
5959 @as ("aria-modal" )
@@ -62,10 +62,10 @@ type domProps = {
6262 ariaMultiline ?: bool ,
6363 @as ("aria-multiselectable" )
6464 ariaMultiselectable ?: bool ,
65-  /* [@optional] [@as  "aria-orientation"]  ariaOrientation: horizontal|vertical|undefined, */ 
65+  @ as ( "aria-orientation" )  ariaOrientation : [ # horizontal# vertical# undefined], 
6666 @as ("aria-placeholder" )
6767 ariaPlaceholder ?: string ,
68-  /* [@optional] [@as  "aria-pressed"]  ariaPressed: true| false| mixed, /* https://www.w3.org/TR/wai-aria-1.1/#valuetype_tristate */   */
68+  @ as ( "aria-pressed" )  ariaPressed : [ # \ " true" | # \ " false" | # mixed] , /* https://www.w3.org/TR/wai-aria-1.1/#valuetype_tristate */ 
6969 @as ("aria-readonly" )
7070 ariaReadonly ?: bool ,
7171 @as ("aria-required" )
@@ -87,11 +87,11 @@ type domProps = {
8787 ariaAtomic ?: bool ,
8888 @as ("aria-busy" )
8989 ariaBusy ?: bool ,
90-  /* [@optional] [@as  "aria-live"]  ariaLive: off|polite|assertive|rude, */ 
90+  @ as ( "aria-live" )  ariaLive : [ # off# polite# assertive# rude], 
9191 @as ("aria-relevant" )
9292 ariaRelevant ?: string ,
9393 /* Drag-and-Drop Attributes */ 
94-  /* [@optional] [@as  "aria-dropeffect"]  ariaDropeffect: copy|move|link|execute|popup|none, */ 
94+  @ as ( "aria-dropeffect" )  ariaDropeffect : [ # copy# move# link# execute# popup# none], 
9595 @as ("aria-grabbed" )
9696 ariaGrabbed ?: bool ,
9797 /* Relationship Attributes */ 
0 commit comments