@@ -34,26 +34,33 @@ type domProps = {
34
34
/* accessibility */
35
35
/* https://www.w3.org/TR/wai-aria-1.1/ */
36
36
/* https://accessibilityresources.org/<aria-tag> is a great resource for these */
37
- @as ("aria-current" ) ariaCurrent : [#page | #step | #location | #date | #time | # \ "true" | # \ "false" ],
37
+ @as ("aria-current" ) ariaCurrent : [#page | #step | #location | #date | #time | # "true" | # "false" ],
38
38
@as ("aria-details" )
39
39
ariaDetails ?: string ,
40
40
@as ("aria-disabled" )
41
41
ariaDisabled ?: bool ,
42
42
@as ("aria-hidden" )
43
43
ariaHidden ?: bool ,
44
- @as ("aria-invalid" ) ariaInvalid : [#grammar | #spelling | # " \ t rue"| # \ "false" ],
44
+ @as ("aria-invalid" ) ariaInvalid : [#grammar | #spelling | # " true" | # "false" ],
45
45
@as ("aria-keyshortcuts" )
46
46
ariaKeyshortcuts ?: string ,
47
47
@as ("aria-label" )
48
48
ariaLabel ?: string ,
49
49
@as ("aria-roledescription" )
50
50
ariaRoledescription ?: string ,
51
51
/* Widget Attributes */
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 */
52
+ @as ("aria-autocomplete" ) ariaAutocomplete : [#inline | #list | #both | #none ],
53
+ @as ("aria-checked" )
54
+ ariaChecked : [
55
+ | # "true"
56
+ | # "false"
57
+ | #mixed
58
+ ],
59
+ /* https://www.w3.org/TR/wai-aria-1.1/#valuetype_tristate */
54
60
@as ("aria-expanded" )
55
61
ariaExpanded ?: bool ,
56
- @as ("aria-haspopup" ) ariaHaspopup : [#menu |#listbox |#tree |#grid |#dialog |# "\t rue" |# "\f alse" ],
62
+ @as ("aria-haspopup" )
63
+ ariaHaspopup : [#menu | #listbox | #tree | #grid | #dialog | # "true" | # "false" ],
57
64
@as ("aria-level" )
58
65
ariaLevel ?: int ,
59
66
@as ("aria-modal" )
@@ -62,10 +69,16 @@ type domProps = {
62
69
ariaMultiline ?: bool ,
63
70
@as ("aria-multiselectable" )
64
71
ariaMultiselectable ?: bool ,
65
- @as ("aria-orientation" ) ariaOrientation : [#horizontal | #vertical | #undefined ],
72
+ @as ("aria-orientation" ) ariaOrientation : [#horizontal | #vertical | #undefined ],
66
73
@as ("aria-placeholder" )
67
74
ariaPlaceholder ?: string ,
68
- @as ("aria-pressed" ) ariaPressed : [# \"true" |# \"false" |#mixed ], /* https://www.w3.org/TR/wai-aria-1.1/#valuetype_tristate */
75
+ @as ("aria-pressed" )
76
+ ariaPressed : [
77
+ | # "true"
78
+ | # "false"
79
+ | #mixed
80
+ ],
81
+ /* https://www.w3.org/TR/wai-aria-1.1/#valuetype_tristate */
69
82
@as ("aria-readonly" )
70
83
ariaReadonly ?: bool ,
71
84
@as ("aria-required" )
@@ -87,11 +100,11 @@ type domProps = {
87
100
ariaAtomic ?: bool ,
88
101
@as ("aria-busy" )
89
102
ariaBusy ?: bool ,
90
- @as ("aria-live" ) ariaLive : [#off | #polite | #assertive | #rude ],
103
+ @as ("aria-live" ) ariaLive : [#off | #polite | #assertive | #rude ],
91
104
@as ("aria-relevant" )
92
105
ariaRelevant ?: string ,
93
106
/* Drag-and-Drop Attributes */
94
- @as ("aria-dropeffect" ) ariaDropeffect : [#copy | #move | #link | #execute | #popup | #none ],
107
+ @as ("aria-dropeffect" ) ariaDropeffect : [#copy | #move | #link | #execute | #popup | #none ],
95
108
@as ("aria-grabbed" )
96
109
ariaGrabbed ?: bool ,
97
110
/* Relationship Attributes */
0 commit comments