@@ -34,24 +34,25 @@ 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" )
38
+ ariaCurrent ?: [#page | #step | #location | #date | #time | # "true" | # "false" ],
38
39
@as ("aria-details" )
39
40
ariaDetails ?: string ,
40
41
@as ("aria-disabled" )
41
42
ariaDisabled ?: bool ,
42
43
@as ("aria-hidden" )
43
44
ariaHidden ?: bool ,
44
- @as ("aria-invalid" ) ariaInvalid : [#grammar | #spelling | # "true" | # "false" ],
45
+ @as ("aria-invalid" ) ariaInvalid ? : [#grammar | #spelling | # "true" | # "false" ],
45
46
@as ("aria-keyshortcuts" )
46
47
ariaKeyshortcuts ?: string ,
47
48
@as ("aria-label" )
48
49
ariaLabel ?: string ,
49
50
@as ("aria-roledescription" )
50
51
ariaRoledescription ?: string ,
51
52
/* Widget Attributes */
52
- @as ("aria-autocomplete" ) ariaAutocomplete : [#inline | #list | #both | #none ],
53
+ @as ("aria-autocomplete" ) ariaAutocomplete ? : [#inline | #list | #both | #none ],
53
54
@as ("aria-checked" )
54
- ariaChecked : [
55
+ ariaChecked ? : [
55
56
| # "true"
56
57
| # "false"
57
58
| #mixed
@@ -60,7 +61,7 @@ type domProps = {
60
61
@as ("aria-expanded" )
61
62
ariaExpanded ?: bool ,
62
63
@as ("aria-haspopup" )
63
- ariaHaspopup : [#menu | #listbox | #tree | #grid | #dialog | # "true" | # "false" ],
64
+ ariaHaspopup ? : [#menu | #listbox | #tree | #grid | #dialog | # "true" | # "false" ],
64
65
@as ("aria-level" )
65
66
ariaLevel ?: int ,
66
67
@as ("aria-modal" )
@@ -69,11 +70,11 @@ type domProps = {
69
70
ariaMultiline ?: bool ,
70
71
@as ("aria-multiselectable" )
71
72
ariaMultiselectable ?: bool ,
72
- @as ("aria-orientation" ) ariaOrientation : [#horizontal | #vertical | #undefined ],
73
+ @as ("aria-orientation" ) ariaOrientation ? : [#horizontal | #vertical | #undefined ],
73
74
@as ("aria-placeholder" )
74
75
ariaPlaceholder ?: string ,
75
76
@as ("aria-pressed" )
76
- ariaPressed : [
77
+ ariaPressed ? : [
77
78
| # "true"
78
79
| # "false"
79
80
| #mixed
@@ -100,11 +101,11 @@ type domProps = {
100
101
ariaAtomic ?: bool ,
101
102
@as ("aria-busy" )
102
103
ariaBusy ?: bool ,
103
- @as ("aria-live" ) ariaLive : [#off | #polite | #assertive | #rude ],
104
+ @as ("aria-live" ) ariaLive ? : [#off | #polite | #assertive | #rude ],
104
105
@as ("aria-relevant" )
105
106
ariaRelevant ?: string ,
106
107
/* Drag-and-Drop Attributes */
107
- @as ("aria-dropeffect" ) ariaDropeffect : [#copy | #move | #link | #execute | #popup | #none ],
108
+ @as ("aria-dropeffect" ) ariaDropeffect ? : [#copy | #move | #link | #execute | #popup | #none ],
108
109
@as ("aria-grabbed" )
109
110
ariaGrabbed ?: bool ,
110
111
/* Relationship Attributes */
0 commit comments