@aurodesignsystem-dev/auro-formkit 0.0.0-pr1448.0 → 0.0.0-pr1451.1

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 (163) hide show
  1. package/components/checkbox/demo/api.md +201 -221
  2. package/components/checkbox/demo/api.min.js +1 -1
  3. package/components/checkbox/demo/index.md +21 -23
  4. package/components/checkbox/demo/index.min.js +1 -1
  5. package/components/checkbox/demo/keyboard-behavior.md +39 -0
  6. package/components/checkbox/demo/readme.md +23 -35
  7. package/components/checkbox/dist/auro-checkbox-group.d.ts +6 -6
  8. package/components/checkbox/dist/auro-checkbox.d.ts +8 -8
  9. package/components/checkbox/dist/index.js +1 -1
  10. package/components/checkbox/dist/registered.js +1 -1
  11. package/components/combobox/README.md +13 -3
  12. package/components/combobox/demo/accessibility.html +57 -0
  13. package/components/combobox/demo/accessibility.md +77 -0
  14. package/components/combobox/demo/api.html +24 -0
  15. package/components/combobox/demo/api.md +1613 -1685
  16. package/components/combobox/demo/api.min.js +15 -21
  17. package/components/combobox/demo/design.html +83 -0
  18. package/components/combobox/demo/design.md +283 -0
  19. package/components/combobox/demo/index.html +49 -16
  20. package/components/combobox/demo/index.js +3 -2
  21. package/components/combobox/demo/index.md +861 -185
  22. package/components/combobox/demo/index.min.js +41 -22
  23. package/components/combobox/demo/install.html +84 -0
  24. package/components/combobox/demo/install.js +24 -0
  25. package/components/combobox/demo/install.md +100 -0
  26. package/components/combobox/demo/install.min.js +17991 -0
  27. package/components/combobox/demo/{keyboardBehavior.html → keyboard-behavior.html} +2 -1
  28. package/components/combobox/demo/keyboard-behavior.md +276 -0
  29. package/components/combobox/demo/layout.md +112 -0
  30. package/components/combobox/demo/readme.html +25 -1
  31. package/components/combobox/demo/readme.md +50 -52
  32. package/components/combobox/demo/styles.css +141 -0
  33. package/components/combobox/demo/voiceover.html +66 -0
  34. package/components/combobox/demo/voiceover.md +118 -0
  35. package/components/combobox/dist/auro-combobox.d.ts +36 -36
  36. package/components/combobox/dist/index.js +12 -17
  37. package/components/combobox/dist/registered.js +12 -17
  38. package/components/counter/demo/api.md +751 -819
  39. package/components/counter/demo/api.min.js +2 -2
  40. package/components/counter/demo/index.md +35 -39
  41. package/components/counter/demo/index.min.js +2 -2
  42. package/components/counter/demo/keyboard-behavior.md +127 -0
  43. package/components/counter/demo/readme.md +39 -51
  44. package/components/counter/dist/auro-counter-group.d.ts +2 -2
  45. package/components/counter/dist/auro-counter.d.ts +10 -10
  46. package/components/counter/dist/index.js +2 -2
  47. package/components/counter/dist/registered.js +2 -2
  48. package/components/datepicker/demo/api.md +827 -931
  49. package/components/datepicker/demo/api.min.js +4 -4
  50. package/components/datepicker/demo/index.md +79 -87
  51. package/components/datepicker/demo/index.min.js +4 -4
  52. package/components/datepicker/demo/keyboard-behavior.md +19 -0
  53. package/components/datepicker/demo/readme.md +19 -31
  54. package/components/datepicker/dist/index.js +4 -4
  55. package/components/datepicker/dist/registered.js +4 -4
  56. package/components/datepicker/dist/{auro-calendar-cell.d.ts → src/auro-calendar-cell.d.ts} +2 -2
  57. package/components/datepicker/dist/{auro-datepicker.d.ts → src/auro-datepicker.d.ts} +13 -13
  58. package/components/datepicker/dist/{utilities.d.ts → src/utilities.d.ts} +4 -4
  59. package/components/datepicker/dist/{utilitiesCalendar.d.ts → src/utilitiesCalendar.d.ts} +3 -3
  60. package/components/datepicker/dist/{vendor → src/vendor}/wc-range-datepicker/range-datepicker-calendar.d.ts +2 -2
  61. package/components/datepicker/dist/{vendor → src/vendor}/wc-range-datepicker/range-datepicker.d.ts +1 -1
  62. package/components/dropdown/demo/api.md +795 -851
  63. package/components/dropdown/demo/api.min.js +1 -1
  64. package/components/dropdown/demo/index.md +145 -155
  65. package/components/dropdown/demo/index.min.js +1 -1
  66. package/components/dropdown/demo/keyboard-behavior.md +72 -0
  67. package/components/dropdown/demo/readme.md +39 -51
  68. package/components/dropdown/dist/auro-dropdown.d.ts +22 -22
  69. package/components/dropdown/dist/auro-dropdownBib.d.ts +3 -3
  70. package/components/dropdown/dist/dropdownBibKeyboardStrategy.d.ts +1 -1
  71. package/components/dropdown/dist/index.js +1 -1
  72. package/components/dropdown/dist/registered.js +1 -1
  73. package/components/form/demo/api.md +173 -179
  74. package/components/form/demo/api.min.js +27 -33
  75. package/components/form/demo/index.md +27 -33
  76. package/components/form/demo/index.min.js +27 -33
  77. package/components/form/demo/keyboard-behavior.md +38 -0
  78. package/components/form/demo/readme.md +14 -28
  79. package/components/input/demo/api.md +572 -664
  80. package/components/input/demo/api.min.js +2 -2
  81. package/components/input/demo/index.md +93 -99
  82. package/components/input/demo/index.min.js +2 -2
  83. package/components/input/demo/keyboard-behavior.md +25 -0
  84. package/components/input/demo/readme.md +17 -29
  85. package/components/input/dist/auro-input.d.ts +1 -1
  86. package/components/input/dist/base-input.d.ts +29 -29
  87. package/components/input/dist/index.js +2 -2
  88. package/components/input/dist/registered.js +2 -2
  89. package/components/menu/demo/api.md +745 -789
  90. package/components/menu/demo/api.min.js +3 -4
  91. package/components/menu/demo/index.md +35 -37
  92. package/components/menu/demo/index.min.js +3 -4
  93. package/components/menu/demo/keyboard-behavior.md +18 -0
  94. package/components/menu/demo/readme.md +23 -35
  95. package/components/menu/dist/auro-menu-utils.d.ts +1 -1
  96. package/components/menu/dist/auro-menu.context.d.ts +3 -3
  97. package/components/menu/dist/auro-menu.d.ts +5 -5
  98. package/components/menu/dist/auro-menuoption.d.ts +6 -6
  99. package/components/menu/dist/index.js +3 -4
  100. package/components/menu/dist/registered.js +3 -4
  101. package/components/radio/demo/api.md +318 -350
  102. package/components/radio/demo/api.min.js +1 -1
  103. package/components/radio/demo/index.md +25 -29
  104. package/components/radio/demo/index.min.js +1 -1
  105. package/components/radio/demo/keyboard-behavior.md +72 -0
  106. package/components/radio/demo/readme.md +21 -33
  107. package/components/radio/dist/auro-radio-group.d.ts +9 -9
  108. package/components/radio/dist/auro-radio.d.ts +8 -8
  109. package/components/radio/dist/index.js +1 -1
  110. package/components/radio/dist/registered.js +1 -1
  111. package/components/select/README.md +12 -1
  112. package/components/select/demo/accessibility.html +65 -0
  113. package/components/select/demo/accessibility.md +76 -0
  114. package/components/select/demo/api.md +1713 -1793
  115. package/components/select/demo/api.min.js +5 -6
  116. package/components/select/demo/index.html +247 -37
  117. package/components/select/demo/index.md +225 -345
  118. package/components/select/demo/index.min.js +5 -6
  119. package/components/select/demo/keyboard-behavior.md +39 -0
  120. package/components/select/demo/layout.html +59 -0
  121. package/components/select/demo/layout.md +299 -0
  122. package/components/select/demo/readme.md +45 -46
  123. package/components/select/demo/voiceover.html +65 -0
  124. package/components/select/demo/voiceover.md +183 -0
  125. package/components/select/dist/auro-select.d.ts +11 -11
  126. package/components/select/dist/index.js +2 -2
  127. package/components/select/dist/registered.js +2 -2
  128. package/custom-elements.json +13 -11
  129. package/package.json +26 -26
  130. package/components/checkbox/demo/keyboardBehavior.md +0 -0
  131. package/components/combobox/demo/keyboardBehavior.md +0 -281
  132. package/components/counter/demo/keyboardBehavior.md +0 -127
  133. package/components/datepicker/demo/keyboardBehavior.md +0 -19
  134. package/components/dropdown/demo/keyboardBehavior.md +0 -77
  135. package/components/form/demo/keyboardBehavior.md +0 -0
  136. package/components/input/demo/keyboardBehavior.md +0 -0
  137. package/components/menu/demo/keyboardBehavior.md +0 -0
  138. package/components/radio/demo/keyboardBehavior.md +0 -0
  139. package/components/select/demo/keyboardBehavior.md +0 -245
  140. /package/components/datepicker/dist/{auro-calendar-month.d.ts → src/auro-calendar-month.d.ts} +0 -0
  141. /package/components/datepicker/dist/{auro-calendar.d.ts → src/auro-calendar.d.ts} +0 -0
  142. /package/components/datepicker/dist/{buttonVersion.d.ts → src/buttonVersion.d.ts} +0 -0
  143. /package/components/datepicker/dist/{datepickerKeyboardStrategy.d.ts → src/datepickerKeyboardStrategy.d.ts} +0 -0
  144. /package/components/datepicker/dist/{iconVersion.d.ts → src/iconVersion.d.ts} +0 -0
  145. /package/components/datepicker/dist/{index.d.ts → src/index.d.ts} +0 -0
  146. /package/components/datepicker/dist/{popoverVersion.d.ts → src/popoverVersion.d.ts} +0 -0
  147. /package/components/datepicker/dist/{styles → src/styles}/classic/color-css.d.ts +0 -0
  148. /package/components/datepicker/dist/{styles → src/styles}/classic/style-css.d.ts +0 -0
  149. /package/components/datepicker/dist/{styles → src/styles}/color-calendar-css.d.ts +0 -0
  150. /package/components/datepicker/dist/{styles → src/styles}/color-cell-css.d.ts +0 -0
  151. /package/components/datepicker/dist/{styles → src/styles}/color-css.d.ts +0 -0
  152. /package/components/datepicker/dist/{styles → src/styles}/color-month-css.d.ts +0 -0
  153. /package/components/datepicker/dist/{styles → src/styles}/shapeSize-css.d.ts +0 -0
  154. /package/components/datepicker/dist/{styles → src/styles}/snowflake/color-css.d.ts +0 -0
  155. /package/components/datepicker/dist/{styles → src/styles}/snowflake/style-css.d.ts +0 -0
  156. /package/components/datepicker/dist/{styles → src/styles}/style-auro-calendar-cell-css.d.ts +0 -0
  157. /package/components/datepicker/dist/{styles → src/styles}/style-auro-calendar-css.d.ts +0 -0
  158. /package/components/datepicker/dist/{styles → src/styles}/style-auro-calendar-month-css.d.ts +0 -0
  159. /package/components/datepicker/dist/{styles → src/styles}/style-css.d.ts +0 -0
  160. /package/components/datepicker/dist/{styles → src/styles}/tokens-css.d.ts +0 -0
  161. /package/components/datepicker/dist/{utilitiesCalendarRender.d.ts → src/utilitiesCalendarRender.d.ts} +0 -0
  162. /package/components/datepicker/dist/{vendor → src/vendor}/wc-range-datepicker/day.d.ts +0 -0
  163. /package/components/datepicker/dist/{vendor → src/vendor}/wc-range-datepicker/range-datepicker-cell.d.ts +0 -0
@@ -1,281 +0,0 @@
1
- <auro-header level="1" id="overview">Combobox - Keyboard Behavior</auro-header>
2
- <div class="contentWrapper">
3
- <div class="mainContent">
4
- <div class="scrollWrapper">
5
- <auro-header level="2" id="tabBehavior">Tab Behavior</auro-header>
6
- <p>The component trigger contains an <code>&lt;auro-input&gt;</code> which has two elements:</p>
7
- <ol>
8
- <li><strong>Input</strong></li>
9
- <li><strong>Clear button:</strong> only shown when the input has a value.</li>
10
- </ol>
11
- <p>Each focusable element <em>(when shown)</em> participates in the browser window's default <code>tabindex</code> sequence.</p>
12
- <p>When the component is <code>disabled</code> it is removed from the <code>tabindex</code> sequence. VoiceOver's virtual cursor <em>(swipe navigation)</em> can still encounter the component, but standard keyboard <code>Tab</code> navigation skips it.</p>
13
- <p>On <strong>large viewport devices</strong> (e.g., desktop browser, tablet) there is no focusable content inside the component bib.</p>
14
- <p>On <strong>small viewport devices</strong> (e.g., phone) the bib opens a modal dialog with a focusable <strong>input</strong> and <strong>clear button</strong> which can receive <strong>Click</strong> and <strong>Tap</strong> events.</p>
15
- <auro-header level="2" id="keyEvents">Key Events</auro-header>
16
- <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../docs/partials/keyEvents.md) -->
17
- <!-- The below content is automatically added from ./../docs/partials/keyEvents.md -->
18
- <div class="note">
19
- <p><strong>Static vs Dynamic Option List:</strong> The <strong>expanded</strong> state can never be applied without list options rendered into the DOM. Since the component supports dynamic option lists generated <em>after</em> a value is typed into the <strong>input</strong>, certain key events (as noted in the <strong>Current State</strong> column of the table below) only function with the option list rendered into the DOM.</p>
20
- </div>
21
- <table>
22
- <thead>
23
- <tr>
24
- <th>Key</th>
25
- <th>Modifier</th>
26
- <th>Current State</th>
27
- <th>Focus Element</th>
28
- <th>Behavior</th>
29
- </tr>
30
- </thead>
31
- <tbody>
32
- <tr>
33
- <td rowspan="6">ArrowDown</td>
34
- <td rowspan="2">-</td>
35
- <td>Collapsed, list options have been populated</td>
36
- <td>
37
- Trigger input element, <strong>NOT</strong> the trigger input clear button
38
- </td>
39
- <td>Opens the bib.</td>
40
- </tr>
41
- <tr>
42
- <td>Expanded</td>
43
- <td>
44
- Input element, <strong>NOT</strong> the input clear button
45
- <div class="note">
46
- <strong>Note:</strong> Includes both trigger and bib content inputs depending on viewport size.
47
- </div>
48
- </td>
49
- <td>
50
- Advances the <code>focused</code> option to the next enabled option in the list. If the current <code>focused</code> option is the last enabled option, selection wraps to the first enabled option.
51
- </td>
52
- </tr>
53
- <tr>
54
- <td rowspan="2">Command</td>
55
- <td>Collapsed, list options have been populated</td>
56
- <td>
57
- Trigger input element, <strong>NOT</strong> the trigger input clear button
58
- </td>
59
- <td>Opens the bib.</td>
60
- </tr>
61
- <tr>
62
- <td>Expanded</td>
63
- <td>
64
- Input element, <strong>NOT</strong> the input clear button
65
- <div class="note">
66
- <strong>Note:</strong> Includes both trigger and bib content inputs.
67
- </div>
68
- </td>
69
- <td>
70
- Advances the <code>focused</code> option to the last enabled option in the list.
71
- </td>
72
- </tr>
73
- <tr>
74
- <td rowspan="2">Option</td>
75
- <td>Collapsed, list options have been populated</td>
76
- <td>
77
- Trigger input element, <strong>NOT</strong> the trigger input clear button
78
- </td>
79
- <td>Opens the bib.</td>
80
- </tr>
81
- <tr>
82
- <td>Expanded</td>
83
- <td>
84
- Input element, <strong>NOT</strong> the input clear button
85
- <div class="note">
86
- <strong>Note:</strong> Includes both trigger and bib content inputs.
87
- </div>
88
- </td>
89
- <td>
90
- Advances the <code>focused</code> option to the last enabled option in the list.
91
- </td>
92
- </tr>
93
- <tr>
94
- <td rowspan="6">ArrowUp</td>
95
- <td rowspan="2">-</td>
96
- <td>Collapsed, list options have been populated</td>
97
- <td>
98
- Trigger input element, <strong>NOT</strong> the trigger input clear button
99
- </td>
100
- <td>Opens the bib.</td>
101
- </tr>
102
- <tr>
103
- <td>Expanded</td>
104
- <td>
105
- Input element, <strong>NOT</strong> the input clear button
106
- <div class="note">
107
- <strong>Note:</strong> Includes both trigger and bib content inputs.
108
- </div>
109
- </td>
110
- <td>
111
- Advances the <code>focused</code> option to the previous enabled option in the list. If the current <code>focused</code> option is the first enabled option, selection wraps to the last enabled option.
112
- </td>
113
- </tr>
114
- <tr>
115
- <td rowspan="2">Command</td>
116
- <td>Collapsed, list options have been populated</td>
117
- <td>
118
- Trigger input element, <strong>NOT</strong> the trigger input clear button
119
- </td>
120
- <td>Opens the bib.</td>
121
- </tr>
122
- <tr>
123
- <td>Expanded</td>
124
- <td>
125
- Input element, <strong>NOT</strong> the input clear button
126
- <div class="note">
127
- <strong>Note:</strong> Includes both trigger and bib content inputs.
128
- </div>
129
- </td>
130
- <td>
131
- Advances the <code>focused</code> option to the first enabled option in the list.
132
- </td>
133
- </tr>
134
- <tr>
135
- <td rowspan="2">Option</td>
136
- <td>Collapsed, list options have been populated</td>
137
- <td>
138
- Input element, <strong>NOT</strong> the input clear button
139
- </td>
140
- <td>Opens the bib.</td>
141
- </tr>
142
- <tr>
143
- <td>Expanded</td>
144
- <td>
145
- Input element, <strong>NOT</strong> the input clear button
146
- <div class="note">
147
- <strong>Note:</strong> Includes both trigger and bib content inputs.
148
- </div>
149
- </td>
150
- <td>
151
- Advances the <code>focused</code> option to the first enabled option in the list.
152
- </td>
153
- </tr>
154
- <tr>
155
- <td>End</td>
156
- <td>-</td>
157
- <td>Expanded</td>
158
- <td>
159
- Input element, <strong>NOT</strong> the input clear button
160
- <div class="note">
161
- <strong>Note:</strong> Includes both trigger and bib content inputs.
162
- </div>
163
- </td>
164
- <td>
165
- Advances the <code>focused</code> option to the last enabled option in the list.
166
- </td>
167
- </tr>
168
- <tr>
169
- <td rowspan="4">Enter</td>
170
- <td rowspan="4">-</td>
171
- <td>Collapsed, list options have been populated</td>
172
- <td>
173
- Trigger input, <strong>NOT</strong> the input clear button
174
- </td>
175
- <td>
176
- The bib is opened.
177
- </td>
178
- </tr>
179
- <tr>
180
- <td>Collapsed</td>
181
- <td>
182
- Input clear button, <strong>NOT</strong> the input element
183
- </td>
184
- <td>
185
- The <strong>input</strong> value is cleared, <strong>focus</strong> moves to the trigger input element.
186
- </td>
187
- </tr>
188
- <tr>
189
- <td>Expanded, large viewport device</td>
190
- <td>
191
- Trigger input element, <strong>NOT</strong> the trigger input clear button
192
- </td>
193
- <td>
194
- The current <code>focused</code> option is selected, closes the bib and <strong>focus</strong> is returned to the trigger input element.
195
- </td>
196
- </tr>
197
- <tr>
198
- <td>Expanded, small viewport device</td>
199
- <td>
200
- Dialog input element, <strong>NOT</strong> the dialog input clear button
201
- </td>
202
- <td>
203
- The current <code>focused</code> option is selected, closes the bib and <strong>focus</strong> is returned to the trigger input element.
204
- </td>
205
- </tr>
206
- <tr>
207
- <td>Escape</td>
208
- <td>-</td>
209
- <td>Expanded</td>
210
- <td>
211
- Input element, <strong>NOT</strong> the input clear button
212
- <div class="note">
213
- <strong>Note:</strong> Includes both trigger and bib content inputs.
214
- </div>
215
- </td>
216
- <td>
217
- Closes the bib, moves <strong>focus</strong> to the trigger input element.
218
- </td>
219
- </tr>
220
- <tr>
221
- <td>Home</td>
222
- <td>-</td>
223
- <td>Expanded</td>
224
- <td>
225
- Input element, <strong>NOT</strong> the input clear button
226
- <div class="note">
227
- <strong>Note:</strong> Includes both trigger and bib content inputs.
228
- </div>
229
- </td>
230
- <td>
231
- Advances the <code>focused</code> option to the first enabled option in the list.
232
- </td>
233
- </tr>
234
- <tr>
235
- <td rowspan="2">Tab</td>
236
- <td>-</td>
237
- <td>Expanded</td>
238
- <td>
239
- Input element, <strong>NOT</strong> the input clear button
240
- <div class="note">
241
- <strong>Note:</strong> Includes both trigger and bib content inputs.
242
- </div>
243
- </td>
244
- <td>
245
- The current <code>focused</code> option is selected, the bib is closed and <strong>focus</strong> is moved to the <strong>clear button</strong> in the component trigger.
246
- </td>
247
- </tr>
248
- <tr>
249
- <td>Shift</td>
250
- <td>Expanded</td>
251
- <td>
252
- Input element, <strong>NOT</strong> the input clear button
253
- <div class="note">
254
- <strong>Note:</strong> Includes both trigger and bib content inputs.
255
- </div>
256
- </td>
257
- <td>
258
- Advances the <code>focused</code> option to the first enabled option in the list.
259
- <div class="note">
260
- <strong>Note:</strong> the bib will <strong>NOT</strong> close and the page will <strong>NOT</strong> navigate to the previous focusable element in the tabindex order.
261
- </div>
262
- </td>
263
- </tr>
264
- </tbody>
265
- </table>
266
- <!-- AURO-GENERATED-CONTENT:END -->
267
- <div class="note">
268
- <p><strong>Note:</strong> The following keyboard behavior is unsupported at this time:</p>
269
- <ul>
270
- <li><strong>PageUp:</strong> The browser moves the <code>focused</code> option up by approximately one <strong>page</strong> of visible options (typically equal to the number of rendered rows). The scroll position updates in tandem so that the newly focused option is brought into view, usually aligning near the top of the visible list.</li>
271
- <li><strong>PageDown:</strong> The browser advances the <code>focused</code> option down by approximately one <strong>page</strong> of visible items (typically equal to the number of rendered rows). The scroll position updates accordingly so the newly focused option is brought into view, often aligning near the bottom of the visible list.</li>
272
- </ul>
273
- </div>
274
- </div>
275
- </div>
276
- </div>
277
-
278
- ## DEVELOPER NOTES / CODE ACTION ITEMS / TODO ITEMS
279
- 1. Remove the bridge for keyboard event bubbling out of the bib
280
- 1. Prevent auro-dropdown `Enter` and `Space` key behavior for opening and closing the bib.
281
- 1. Strip out key event listeners not listed in this document
@@ -1,127 +0,0 @@
1
- <auro-header level="1" id="overview">Counter & Counter Group - Keyboard Behavior</auro-header>
2
- <div class="contentWrapper">
3
- <div class="mainContent">
4
- <div class="scrollWrapper">
5
- <auro-header level="2" id="tabBehavior">Tab Behavior</auro-header>
6
- <auro-header level="3" id="tabBehaviorCounter">Counter</auro-header>
7
- <p>The counter component is itself a focusable element. There are no sub-parts that are separately focusable.</p>
8
- <auro-header level="3" id="tabBehaviorCounterGroup">Counter Group</auro-header>
9
- <p>When multiple counters are placed inside a counter group the component behaves as an auro-dropdown. The trigger element renders a counter group label and a summary of all counter labels and current values. The dropdown bib renders all counters inside of the group.</p>
10
- <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../../dropdown/docs/partials/tabindex.md) -->
11
- <!-- The below content is automatically added from ./../../dropdown/docs/partials/tabindex.md -->
12
- <p>The trigger is a focusable element and participates in the standard tab order, responding to <code>Tab</code> and <code>Shift+Tab</code> key events per <auro-hyperlink href="https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Global_attributes/tabindex">native browser behavior, i.e., these keys step through the browser tabindex sequence.</auro-hyperlink></p>
13
- <p>When the component is <code>disabled</code> it is removed from the <code>tabindex</code> sequence. VoiceOver's virtual cursor <em>(swipe navigation)</em> can still encounter the component, but standard keyboard <code>Tab</code> navigation skips it.</p>
14
- <p>When the bib is collapsed, the bib content is excluded from the tab sequence. When <strong>expanded</strong>, focusable elements within the bib content are included in the natural tab order. In fullscreen mode, focus is trapped within the bib, and the tab sequence cycles through the bib content focusable elements until the bib is closed or the viewport no longer meets the fullscreen condition and is rendered as a popover.</p>
15
- <!-- AURO-GENERATED-CONTENT:END -->
16
- <auro-header level="2" id="keyEvents">Key Events</auro-header>
17
- <auro-header level="3" id="keyEventsCounter">Counter</auro-header>
18
- <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../docs/partials/keyEvents-counter.md) -->
19
- <!-- The below content is automatically added from ./../docs/partials/keyEvents-counter.md -->
20
- <table>
21
- <thead>
22
- <tr>
23
- <th>Key</th>
24
- <th>Modifier</th>
25
- <th>Current State</th>
26
- <th>Focus Element</th>
27
- <th>Behavior</th>
28
- </tr>
29
- </thead>
30
- <tbody>
31
- <tr>
32
- <td>ArrowDown</td>
33
- <td>-</td>
34
- <td>*</td>
35
- <td>
36
- Trigger element.
37
- </td>
38
- <td>Decrements the counter value by 1.</td>
39
- </tr>
40
- <tr>
41
- <td>ArrowUp</td>
42
- <td>-</td>
43
- <td>*</td>
44
- <td>
45
- Trigger element.
46
- </td>
47
- <td>Increments the counter value by 1.</td>
48
- </tr>
49
- </tbody>
50
- </table>
51
- <!-- AURO-GENERATED-CONTENT:END -->
52
- <div class="note">
53
- <p><strong>Note:</strong> The following keyboard behavior is unsupported at this time:</p>
54
- <ul>
55
- <li><strong>Home:</strong> sets the counter value to the defined minimum (default 0)</li>
56
- <li><strong>End:</strong> sets the counter value to the defined maximum (default 9)</li>
57
- <li><strong>PageUp:</strong> (optional) Increases the value by a larger step than Up Arrow.</li>
58
- <li><strong>PageDown:</strong> (optional) Decreases the value by a larger step than Down Arrow.</li>
59
- </ul>
60
- </div>
61
- <auro-header level="3" id="keyEventsCounterGroup">Counter Group</auro-header>
62
- <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../docs/partials/keyEvents-counterGroup.md) -->
63
- <!-- The below content is automatically added from ./../docs/partials/keyEvents-counterGroup.md -->
64
- <p>The counter group itself does not have any key event handlers other than those inherited from the dropdown component. However, when the counter group is <strong>expanded</strong> or <strong>opened</strong> the first counter in the bib receives <strong>focus</strong>. When the counter group is <strong>collapsed</strong> or <strong>closed</strong> by any method other than the <code>Tab</code> key (e.g., the <strong>Escape</strong> key), <strong>focus</strong> moves to the trigger element.</p>
65
- <!-- AURO-GENERATED-CONTENT:END -->
66
- <auro-header level="4" id="keyEventsDropdown">Key Events inherited from Auro-Dropdown</auro-header>
67
- <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../../dropdown/docs/partials/keyEvents.md) -->
68
- <!-- The below content is automatically added from ./../../dropdown/docs/partials/keyEvents.md -->
69
- <table>
70
- <thead>
71
- <tr>
72
- <th>Key</th>
73
- <th>Modifier</th>
74
- <th>Current State</th>
75
- <th>Focus Element</th>
76
- <th>Behavior</th>
77
- </tr>
78
- </thead>
79
- <tbody>
80
- <tr>
81
- <td rowspan="2">Enter</td>
82
- <td>-</td>
83
- <td>Collapsed</td>
84
- <td>
85
- Trigger or any <strong>focusable</strong> element within the trigger.
86
- </td>
87
- <td>Opens the bib.</td>
88
- </tr>
89
- <tr>
90
- <td>-</td>
91
- <td>Expanded</td>
92
- <td>
93
- Trigger or any <strong>focusable</strong> element within the trigger.
94
- </td>
95
- <td>Closes the bib.</td>
96
- </tr>
97
- <tr>
98
- <td>Escape</td>
99
- <td>-</td>
100
- <td>Expanded</td>
101
- <td>
102
- Component <code>:host</code> or any <strong>focusable</strong> element within the component.
103
- </td>
104
- <td>Closes the bib.</td>
105
- </tr>
106
- <tr>
107
- <td rowspan="2">Space</td>
108
- <td>-</td>
109
- <td>Collapsed</td>
110
- <td>
111
- Trigger or any <strong>focusable</strong> element within the trigger.
112
- </td>
113
- <td>Opens the bib.</td>
114
- </tr>
115
- <tr>
116
- <td>-</td>
117
- <td>Expanded</td>
118
- <td>
119
- Trigger or any <strong>focusable</strong> element within the trigger.
120
- </td>
121
- <td>Closes the bib.</td>
122
- </tr>
123
- </tbody>
124
- </table>
125
- <!-- AURO-GENERATED-CONTENT:END -->
126
- </div>
127
- </div>
@@ -1,19 +0,0 @@
1
- <auro-header level="1" id="overview">Datepicker - Keyboard Behavior</auro-header>
2
- <div class="contentWrapper">
3
- <div class="mainContent">
4
- <div class="scrollWrapper">
5
- <auro-header level="2" id="tabBehavior">Tab Behavior</auro-header>
6
- <p>The component trigger contains <code>&lt;auro-input&gt;</code> element(s) which each have two focusable elements:</p>
7
- <ol>
8
- <li><strong>Input</strong></li>
9
- <li><strong>Clear button:</strong> only shown when the input has a value.</li>
10
- </ol>
11
- <p>Each focusable element <em>(when shown)</em> participates in the browser window's default <code>tabindex</code> sequence.</p>
12
- <p>When the component is <code>disabled</code> it is removed from the <code>tabindex</code> sequence. VoiceOver's virtual cursor <em>(swipe navigation)</em> can still encounter the component, but standard keyboard <code>Tab</code> navigation skips it.</p>
13
- <div class="note">
14
- <p><strong>Note:</strong> The current implementation <strong>DOES</strong> support full interaction of the bib content and calendar with touch, click and VoiceOver interactions.</p>
15
- <p>The current implementation of the component <strong>DOES</strong> support using the keyboard to navigate the trigger and type dates via the keyboard. It <strong>DOES NOT</strong> support navigating the bib content and calendar via the keyboard. This functionality is scheduled to be added in the next major redesign of the component.</p>
16
- </div>
17
- </div>
18
- </div>
19
- </div>
@@ -1,77 +0,0 @@
1
- ## Dropdown Keyboard Behavior
2
-
3
- ### Tab Behavior
4
-
5
- <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../docs/partials/tabindex.md) -->
6
- <!-- The below content is automatically added from ./../docs/partials/tabindex.md -->
7
- <p>The trigger is a focusable element and participates in the standard tab order, responding to <code>Tab</code> and <code>Shift+Tab</code> key events per <auro-hyperlink href="https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Global_attributes/tabindex">native browser behavior, i.e., these keys step through the browser tabindex sequence.</auro-hyperlink></p>
8
- <p>When the component is <code>disabled</code> it is removed from the <code>tabindex</code> sequence. VoiceOver's virtual cursor <em>(swipe navigation)</em> can still encounter the component, but standard keyboard <code>Tab</code> navigation skips it.</p>
9
- <p>When the bib is collapsed, the bib content is excluded from the tab sequence. When <strong>expanded</strong>, focusable elements within the bib content are included in the natural tab order. In fullscreen mode, focus is trapped within the bib, and the tab sequence cycles through the bib content focusable elements until the bib is closed or the viewport no longer meets the fullscreen condition and is rendered as a popover.</p>
10
- <!-- AURO-GENERATED-CONTENT:END -->
11
-
12
- ### Key Events
13
-
14
- <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../docs/partials/keyEvents.md) -->
15
- <!-- The below content is automatically added from ./../docs/partials/keyEvents.md -->
16
- <table>
17
- <thead>
18
- <tr>
19
- <th>Key</th>
20
- <th>Modifier</th>
21
- <th>Current State</th>
22
- <th>Focus Element</th>
23
- <th>Behavior</th>
24
- </tr>
25
- </thead>
26
- <tbody>
27
- <tr>
28
- <td rowspan="2">Enter</td>
29
- <td>-</td>
30
- <td>Collapsed</td>
31
- <td>
32
- Trigger or any <strong>focusable</strong> element within the trigger.
33
- </td>
34
- <td>Opens the bib.</td>
35
- </tr>
36
- <tr>
37
- <td>-</td>
38
- <td>Expanded</td>
39
- <td>
40
- Trigger or any <strong>focusable</strong> element within the trigger.
41
- </td>
42
- <td>Closes the bib.</td>
43
- </tr>
44
- <tr>
45
- <td>Escape</td>
46
- <td>-</td>
47
- <td>Expanded</td>
48
- <td>
49
- Component <code>:host</code> or any <strong>focusable</strong> element within the component.
50
- </td>
51
- <td>Closes the bib.</td>
52
- </tr>
53
- <tr>
54
- <td rowspan="2">Space</td>
55
- <td>-</td>
56
- <td>Collapsed</td>
57
- <td>
58
- Trigger or any <strong>focusable</strong> element within the trigger.
59
- </td>
60
- <td>Opens the bib.</td>
61
- </tr>
62
- <tr>
63
- <td>-</td>
64
- <td>Expanded</td>
65
- <td>
66
- Trigger or any <strong>focusable</strong> element within the trigger.
67
- </td>
68
- <td>Closes the bib.</td>
69
- </tr>
70
- </tbody>
71
- </table>
72
- <!-- AURO-GENERATED-CONTENT:END -->
73
-
74
- ## DEVELOPER NOTES / CODE ACTION ITEMS / TODO ITEMS
75
- 1. Remove the bridge for keyboard event bubbling out of the bib
76
- 1. Strip out event listeners not listed in this document (e.g. arrow keys)
77
- 1. do not prevent any event bubbling beyond the focus trap of a fullscreen bib
File without changes
File without changes
File without changes
File without changes