@aurodesignsystem-dev/auro-formkit 0.0.0-pr1475.4 → 0.0.0-pr1477.0
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.
- package/components/bibtemplate/dist/auro-bibtemplate.d.ts +0 -7
- package/components/bibtemplate/dist/index.js +1 -9
- package/components/bibtemplate/dist/registered.js +1 -9
- package/components/checkbox/demo/customize.min.js +1 -1
- package/components/checkbox/demo/getting-started.min.js +1 -1
- package/components/checkbox/demo/index.min.js +1 -1
- package/components/checkbox/dist/index.js +1 -1
- package/components/checkbox/dist/registered.js +1 -1
- package/components/combobox/demo/customize.min.js +18 -234
- package/components/combobox/demo/getting-started.min.js +18 -234
- package/components/combobox/demo/index.min.js +18 -234
- package/components/combobox/demo/keyboard-behavior.md +68 -8
- package/components/combobox/dist/index.js +18 -234
- package/components/combobox/dist/registered.js +18 -234
- package/components/counter/demo/customize.min.js +15 -231
- package/components/counter/demo/index.min.js +15 -231
- package/components/counter/demo/keyboard-behavior.md +0 -1
- package/components/counter/dist/index.js +433 -45
- package/components/counter/dist/registered.js +2 -10
- package/components/datepicker/demo/accessibility.md +3 -51
- package/components/datepicker/demo/api.md +0 -9
- package/components/datepicker/demo/customize.html +0 -2
- package/components/datepicker/demo/customize.md +8 -72
- package/components/datepicker/demo/design.md +1 -3
- package/components/datepicker/demo/index.js +1 -5
- package/components/datepicker/demo/index.md +1 -81
- package/components/datepicker/demo/index.min.js +101 -1350
- package/components/datepicker/demo/keyboard-behavior.md +2 -201
- package/components/datepicker/demo/voiceover.md +12 -19
- package/components/datepicker/dist/index.js +111 -1284
- package/components/datepicker/dist/registered.js +111 -1284
- package/components/datepicker/dist/src/auro-calendar-cell.d.ts +1 -64
- package/components/datepicker/dist/src/auro-calendar-month.d.ts +0 -28
- package/components/datepicker/dist/src/auro-calendar.d.ts +0 -84
- package/components/datepicker/dist/src/auro-datepicker.d.ts +0 -80
- package/components/datepicker/dist/src/datepickerKeyboardStrategy.d.ts +3 -5
- package/components/dropdown/demo/accessibility.md +0 -11
- package/components/dropdown/demo/api.md +0 -1
- package/components/dropdown/demo/customize.md +0 -3
- package/components/dropdown/demo/customize.min.js +13 -221
- package/components/dropdown/demo/getting-started.min.js +13 -221
- package/components/dropdown/demo/index.min.js +13 -221
- package/components/dropdown/demo/keyboard-behavior.md +0 -1
- package/components/dropdown/dist/auro-dropdown.d.ts +1 -31
- package/components/dropdown/dist/index.js +13 -221
- package/components/dropdown/dist/registered.js +13 -221
- package/components/form/demo/customize.min.js +987 -2806
- package/components/form/demo/getting-started.min.js +987 -2806
- package/components/form/demo/index.min.js +987 -2806
- package/components/form/demo/registerDemoDeps.min.js +982 -2801
- package/components/input/demo/customize.min.js +1 -1
- package/components/input/demo/getting-started.min.js +1 -1
- package/components/input/demo/index.min.js +1 -1
- package/components/input/dist/index.js +1 -1
- package/components/input/dist/registered.js +1 -1
- package/components/radio/demo/getting-started.js +1 -1
- package/components/radio/demo/getting-started.md +1 -1
- package/components/radio/demo/index.min.js +1 -1
- package/components/radio/dist/index.js +1 -1
- package/components/radio/dist/registered.js +1 -1
- package/components/select/demo/customize.min.js +33 -247
- package/components/select/demo/getting-started.min.js +33 -247
- package/components/select/demo/index.min.js +33 -247
- package/components/select/demo/keyboard-behavior.md +54 -9
- package/components/select/dist/index.js +33 -247
- package/components/select/dist/registered.js +33 -247
- package/custom-elements.json +1491 -2163
- package/package.json +2 -2
- package/components/datepicker/demo/customize.js +0 -19
- package/components/datepicker/demo/customize.min.js +0 -25810
- package/components/radio/demo/customize.min.js +0 -2186
- package/components/radio/demo/demo-support.min.js +0 -55807
- package/components/radio/demo/getting-started.min.js +0 -2205
|
@@ -11,208 +11,9 @@
|
|
|
11
11
|
<p>Each focusable element <em>(when shown)</em> participates in the browser window's default <code>tabindex</code> sequence.</p>
|
|
12
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
13
|
<div class="note">
|
|
14
|
-
<p><strong>Note:</strong> The
|
|
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>
|
|
15
16
|
</div>
|
|
16
|
-
<auro-header level="3" id="keyEventsCounterGroup">Key Events</auro-header>
|
|
17
|
-
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../docs/partials/keyEvents.md) -->
|
|
18
|
-
<!-- The below content is automatically added from ./../docs/partials/keyEvents.md -->
|
|
19
|
-
<auro-header level="3" id="keyEvents-trigger">Trigger input</auro-header>
|
|
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>Enter</td>
|
|
33
|
-
<td>-</td>
|
|
34
|
-
<td>Collapsed</td>
|
|
35
|
-
<td>Trigger input, <strong>NOT</strong> the input clear button</td>
|
|
36
|
-
<td>Opens the calendar bib. Focus moves to the active date cell inside the calendar grid. The Enter key behavior overrides the inherited <code>auro-dropdown</code> key behavior outlined below.</td>
|
|
37
|
-
</tr>
|
|
38
|
-
<tr>
|
|
39
|
-
<td>Space</td>
|
|
40
|
-
<td>-</td>
|
|
41
|
-
<td>Collapsed</td>
|
|
42
|
-
<td>Trigger input, <strong>NOT</strong> the input clear button</td>
|
|
43
|
-
<td>Opens the calendar bib. Focus moves to the active date cell inside the calendar grid. The Space key behavior overrides the inherited <code>auro-dropdown</code> key behavior outlined below.</td>
|
|
44
|
-
</tr>
|
|
45
|
-
</tbody>
|
|
46
|
-
</table>
|
|
47
|
-
<auro-header level="3" id="keyEvents-calendar">Calendar</auro-header>
|
|
48
|
-
<table>
|
|
49
|
-
<thead>
|
|
50
|
-
<tr>
|
|
51
|
-
<th>Key</th>
|
|
52
|
-
<th>Modifier</th>
|
|
53
|
-
<th>Current State</th>
|
|
54
|
-
<th>Focus Element</th>
|
|
55
|
-
<th>Behavior</th>
|
|
56
|
-
</tr>
|
|
57
|
-
</thead>
|
|
58
|
-
<tbody>
|
|
59
|
-
<tr>
|
|
60
|
-
<td rowspan="3">Enter</td>
|
|
61
|
-
<td rowspan="3">-</td>
|
|
62
|
-
<td rowspan="3">Expanded</td>
|
|
63
|
-
<td>Previous Month Button</td>
|
|
64
|
-
<td>Re-renders the calendar to show the previous month</td>
|
|
65
|
-
</tr>
|
|
66
|
-
<tr>
|
|
67
|
-
<td>Next Month Button</td>
|
|
68
|
-
<td>Re-renders the calendar to show the next month</td>
|
|
69
|
-
</tr>
|
|
70
|
-
<tr>
|
|
71
|
-
<td>Done button</td>
|
|
72
|
-
<td>Collapses the bib.</td>
|
|
73
|
-
</tr>
|
|
74
|
-
<tr>
|
|
75
|
-
<td rowspan="3">Space</td>
|
|
76
|
-
<td rowspan="3">-</td>
|
|
77
|
-
<td rowspan="3">Expanded</td>
|
|
78
|
-
<td>Previous Month Button</td>
|
|
79
|
-
<td>Re-renders the calendar to show the previous month</td>
|
|
80
|
-
</tr>
|
|
81
|
-
<tr>
|
|
82
|
-
<td>Next Month Button</td>
|
|
83
|
-
<td>Re-renders the calendar to show the next month</td>
|
|
84
|
-
</tr>
|
|
85
|
-
<tr>
|
|
86
|
-
<td>Done button</td>
|
|
87
|
-
<td>Collapses the bib.</td>
|
|
88
|
-
</tr>
|
|
89
|
-
</tbody>
|
|
90
|
-
</table>
|
|
91
|
-
<auro-header level="3" id="keyEvents-calendarGrid">Calendar grid</auro-header>
|
|
92
|
-
<p>When the calendar bib is open, one date cell is the <em>active</em> cell (roving <code>tabindex="0"</code>). All other cells have <code>tabindex="-1"</code>. Arrow keys move the active cell without wrapping — when a boundary is reached the calendar navigates to the adjacent month.</p>
|
|
93
|
-
<table>
|
|
94
|
-
<thead>
|
|
95
|
-
<tr>
|
|
96
|
-
<th>Key</th>
|
|
97
|
-
<th>Modifier</th>
|
|
98
|
-
<th>Current State</th>
|
|
99
|
-
<th>Focus Element</th>
|
|
100
|
-
<th>Behavior</th>
|
|
101
|
-
</tr>
|
|
102
|
-
</thead>
|
|
103
|
-
<tbody>
|
|
104
|
-
<tr>
|
|
105
|
-
<td>ArrowRight</td>
|
|
106
|
-
<td>-</td>
|
|
107
|
-
<td>Expanded</td>
|
|
108
|
-
<td>Any date cell</td>
|
|
109
|
-
<td>Moves focus to the next day. If at the end of the month, navigates to the first focusable day of the next month.</td>
|
|
110
|
-
</tr>
|
|
111
|
-
<tr>
|
|
112
|
-
<td>ArrowLeft</td>
|
|
113
|
-
<td>-</td>
|
|
114
|
-
<td>Expanded</td>
|
|
115
|
-
<td>Any date cell</td>
|
|
116
|
-
<td>Moves focus to the previous day. If at the start of the month, navigates to the last focusable day of the previous month.</td>
|
|
117
|
-
</tr>
|
|
118
|
-
<tr>
|
|
119
|
-
<td>ArrowDown</td>
|
|
120
|
-
<td>-</td>
|
|
121
|
-
<td>Expanded</td>
|
|
122
|
-
<td>Any date cell</td>
|
|
123
|
-
<td>Moves focus to the same day of the week in the next week (+7 days). Navigates to the next month if needed.</td>
|
|
124
|
-
</tr>
|
|
125
|
-
<tr>
|
|
126
|
-
<td>ArrowUp</td>
|
|
127
|
-
<td>-</td>
|
|
128
|
-
<td>Expanded</td>
|
|
129
|
-
<td>Any date cell</td>
|
|
130
|
-
<td>Moves focus to the same day of the week in the previous week (−7 days). Navigates to the previous month if needed.</td>
|
|
131
|
-
</tr>
|
|
132
|
-
<tr>
|
|
133
|
-
<td>Enter / Space</td>
|
|
134
|
-
<td>-</td>
|
|
135
|
-
<td>Expanded</td>
|
|
136
|
-
<td>Any date cell</td>
|
|
137
|
-
<td>Selects the focused date. Blackout dates receive focus but cannot be selected.</td>
|
|
138
|
-
</tr>
|
|
139
|
-
<tr>
|
|
140
|
-
<td>Escape</td>
|
|
141
|
-
<td>-</td>
|
|
142
|
-
<td>Expanded</td>
|
|
143
|
-
<td>Any date cell</td>
|
|
144
|
-
<td>Closes the calendar bib and returns focus to the trigger input.</td>
|
|
145
|
-
</tr>
|
|
146
|
-
<tr>
|
|
147
|
-
<td>Tab</td>
|
|
148
|
-
<td>-</td>
|
|
149
|
-
<td>Expanded</td>
|
|
150
|
-
<td>Any date cell</td>
|
|
151
|
-
<td>Moves focus to the next focusable element outside the calendar grid (e.g., month navigation buttons or the close button in fullscreen mode).</td>
|
|
152
|
-
</tr>
|
|
153
|
-
</tbody>
|
|
154
|
-
</table>
|
|
155
|
-
<!-- AURO-GENERATED-CONTENT:END -->
|
|
156
|
-
<auro-header level="4" id="keyEventsDropdown">Key Events inherited from Auro-Dropdown</auro-header>
|
|
157
|
-
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../../dropdown/docs/partials/keyEvents.md) -->
|
|
158
|
-
<!-- The below content is automatically added from ./../../dropdown/docs/partials/keyEvents.md -->
|
|
159
|
-
<table>
|
|
160
|
-
<thead>
|
|
161
|
-
<tr>
|
|
162
|
-
<th>Key</th>
|
|
163
|
-
<th>Modifier</th>
|
|
164
|
-
<th>Current State</th>
|
|
165
|
-
<th>Focus Element</th>
|
|
166
|
-
<th>Behavior</th>
|
|
167
|
-
</tr>
|
|
168
|
-
</thead>
|
|
169
|
-
<tbody>
|
|
170
|
-
<tr>
|
|
171
|
-
<td rowspan="2">Enter</td>
|
|
172
|
-
<td>-</td>
|
|
173
|
-
<td>Collapsed</td>
|
|
174
|
-
<td>
|
|
175
|
-
Trigger or any <strong>focusable</strong> element within the trigger.
|
|
176
|
-
</td>
|
|
177
|
-
<td>Opens the bib.</td>
|
|
178
|
-
</tr>
|
|
179
|
-
<tr>
|
|
180
|
-
<td>-</td>
|
|
181
|
-
<td>Expanded</td>
|
|
182
|
-
<td>
|
|
183
|
-
Trigger or any <strong>focusable</strong> element within the trigger.
|
|
184
|
-
</td>
|
|
185
|
-
<td>Closes the bib.</td>
|
|
186
|
-
</tr>
|
|
187
|
-
<tr>
|
|
188
|
-
<td>Escape</td>
|
|
189
|
-
<td>-</td>
|
|
190
|
-
<td>Expanded</td>
|
|
191
|
-
<td>
|
|
192
|
-
Component <code>:host</code> or any <strong>focusable</strong> element within the component.
|
|
193
|
-
</td>
|
|
194
|
-
<td>Closes the bib.</td>
|
|
195
|
-
</tr>
|
|
196
|
-
<tr>
|
|
197
|
-
<td rowspan="2">Space</td>
|
|
198
|
-
<td>-</td>
|
|
199
|
-
<td>Collapsed</td>
|
|
200
|
-
<td>
|
|
201
|
-
Trigger or any <strong>focusable</strong> element within the trigger.
|
|
202
|
-
</td>
|
|
203
|
-
<td>Opens the bib.</td>
|
|
204
|
-
</tr>
|
|
205
|
-
<tr>
|
|
206
|
-
<td>-</td>
|
|
207
|
-
<td>Expanded</td>
|
|
208
|
-
<td>
|
|
209
|
-
Trigger or any <strong>focusable</strong> element within the trigger.
|
|
210
|
-
</td>
|
|
211
|
-
<td>Closes the bib.</td>
|
|
212
|
-
</tr>
|
|
213
|
-
</tbody>
|
|
214
|
-
</table>
|
|
215
|
-
<!-- AURO-GENERATED-CONTENT:END -->
|
|
216
17
|
</div>
|
|
217
18
|
</div>
|
|
218
19
|
</div>
|
|
@@ -37,19 +37,12 @@
|
|
|
37
37
|
<auro-header level="3" id="voiceOverClearButton">Clear Button</auro-header>
|
|
38
38
|
<p>When the clear button is focused, VoiceOver announces the <code>aria-label</code> from the <code>ariaLabel.input.clear</code> slot (or the default i18n text), followed by <em>"button"</em>.</p>
|
|
39
39
|
<auro-header level="3" id="voiceOverCalendarNavigation">Calendar Navigation</auro-header>
|
|
40
|
-
<p>When the calendar bib is open, users can navigate calendar cells using VoiceOver gestures (swipe left/right)
|
|
40
|
+
<p>When the calendar bib is open, users can navigate calendar cells using VoiceOver gestures (swipe left/right). Each cell announces:</p>
|
|
41
41
|
<ul>
|
|
42
|
-
<li>The
|
|
43
|
-
<li>
|
|
44
|
-
<li
|
|
45
|
-
|
|
46
|
-
<li>Selection state: <em>"selected"</em> or not (via <code>aria-selected</code>)</li>
|
|
47
|
-
</ul>
|
|
48
|
-
<p>Out-of-range cells (outside min/max bounds) are completely hidden from VoiceOver with <code>aria-hidden="true"</code>.</p>
|
|
49
|
-
<auro-header level="3" id="voiceOverDateSelection">Date Selection</auro-header>
|
|
50
|
-
<p>When a date is selected, an <code>aria-live="assertive"</code> region announces the selected date (e.g. <em>"Wednesday, May 14, 2026"</em>). For range datepickers, both the start and end selections are announced.</p>
|
|
51
|
-
<auro-header level="3" id="voiceOverDialogName">Dialog Name</auro-header>
|
|
52
|
-
<p>The calendar dialog receives its accessible name from the <code>fromLabel</code> slot content. VoiceOver announces the dialog as e.g. <em>"Departure date, dialog"</em> when it opens.</p>
|
|
42
|
+
<li>The date (e.g. <em>"January 15, 2026"</em>)</li>
|
|
43
|
+
<li>Whether the date is selected or within the selected range</li>
|
|
44
|
+
<li>Whether the date is disabled (outside min/max bounds)</li>
|
|
45
|
+
</ul>
|
|
53
46
|
<auro-header level="3" id="voiceOverCloseGesture">Close Gesture</auro-header>
|
|
54
47
|
<p>The calendar bib may be <strong>closed</strong> using a gesture.</p>
|
|
55
48
|
<ul>
|
|
@@ -67,22 +60,22 @@
|
|
|
67
60
|
<p>Examples: large tablet, typical size or larger desktop browser window</p>
|
|
68
61
|
<ol>
|
|
69
62
|
<li><strong>Focus</strong> — Tab to the datepicker input.</li>
|
|
70
|
-
<li><strong>Type a date</strong> — Enter a date value directly
|
|
71
|
-
<li><strong>Calendar opens</strong> —
|
|
72
|
-
<li><strong>Select a date</strong> — Activate a calendar cell
|
|
63
|
+
<li><strong>Type a date</strong> — Enter a date value directly or click/tap to open the calendar.</li>
|
|
64
|
+
<li><strong>Calendar opens</strong> — The dropdown bib opens with the calendar. Navigate dates with VoiceOver gestures.</li>
|
|
65
|
+
<li><strong>Select a date</strong> — Activate a calendar cell to select the date. The calendar closes and the selected date populates the input.</li>
|
|
73
66
|
</ol>
|
|
74
67
|
<auro-header level="2" id="voiceOverSmallVPAnnouncements">Small Viewport Workflow</auro-header>
|
|
75
68
|
<p>Examples: mobile phone, very small desktop browser window</p>
|
|
76
69
|
<ol>
|
|
77
70
|
<li><strong>Focus</strong> — Tab or swipe to the datepicker input.</li>
|
|
78
71
|
<li>
|
|
79
|
-
<strong>Open:</strong>
|
|
72
|
+
<strong>Open:</strong> Focus is moved to the fullscreen modal dialog <strong>Close</strong> button.
|
|
80
73
|
</li>
|
|
81
|
-
<li><strong>Navigate dates</strong> — Swipe through calendar cells
|
|
74
|
+
<li><strong>Navigate dates</strong> — Swipe through calendar cells.</li>
|
|
82
75
|
<li>
|
|
83
|
-
<strong>Select a date:</strong>
|
|
76
|
+
<strong>Select a date:</strong> Closes the fullscreen modal dialog, the selected date populates the input.
|
|
84
77
|
<p>~OR~</p>
|
|
85
|
-
<strong>Close without selecting:</strong>
|
|
78
|
+
<strong>Close without selecting:</strong> Closes the fullscreen modal dialog.
|
|
86
79
|
</li>
|
|
87
80
|
</ol>
|
|
88
81
|
<auro-header level="2" id="voiceOverStates">Impact of State</auro-header>
|