@aurodesignsystem-dev/auro-formkit 0.0.0-pr1457.0 → 0.0.0-pr1457.2
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/checkbox/README.md +2 -2
- package/components/checkbox/demo/accessibility.html +1 -1
- package/components/checkbox/demo/api.html +2 -1
- package/components/checkbox/demo/customize.html +1 -1
- package/components/checkbox/demo/demo-support.js +1 -60
- package/components/checkbox/demo/demo-support.min.js +60 -0
- package/components/checkbox/demo/design.html +2 -1
- package/components/checkbox/demo/getting-started.html +1 -1
- package/components/checkbox/demo/getting-started.md +156 -2
- package/components/checkbox/demo/index.html +1 -1
- package/components/checkbox/demo/index.min.js +3 -2
- package/components/checkbox/demo/install.html +49 -0
- package/components/checkbox/demo/install.md +2 -2
- package/components/checkbox/demo/keyboard-behavior.html +1 -1
- package/components/checkbox/demo/pages.json +1 -0
- package/components/checkbox/demo/readme.html +2 -1
- package/components/checkbox/demo/readme.md +2 -2
- package/components/checkbox/demo/styles.min.css +1 -1
- package/components/checkbox/demo/voiceover.html +1 -1
- package/components/checkbox/dist/auro-checkbox.d.ts +1 -0
- package/components/checkbox/dist/index.js +3 -2
- package/components/checkbox/dist/registered.js +3 -2
- package/components/combobox/README.md +2 -2
- package/components/combobox/demo/accessibility.html +1 -3
- package/components/combobox/demo/api.html +2 -3
- package/components/combobox/demo/customize.html +1 -1
- package/components/combobox/demo/demo-support.js +1 -60
- package/components/combobox/demo/demo-support.min.js +60 -0
- package/components/combobox/demo/design.html +2 -3
- package/components/combobox/demo/getting-started.html +1 -1
- package/components/combobox/demo/getting-started.md +2 -2
- package/components/combobox/demo/index.html +1 -1
- package/components/combobox/demo/install.html +50 -0
- package/components/combobox/demo/install.md +2 -2
- package/components/combobox/demo/keyboard-behavior.html +1 -3
- package/components/combobox/demo/pages.json +1 -0
- package/components/combobox/demo/readme.html +2 -3
- package/components/combobox/demo/readme.md +2 -2
- package/components/combobox/demo/registered.min.js +5 -4
- package/components/combobox/demo/styles.min.css +1 -1
- package/components/combobox/demo/voiceover.html +1 -3
- package/components/combobox/dist/index.js +5 -4
- package/components/combobox/dist/registered.js +5 -4
- package/components/counter/README.md +21 -47
- package/components/counter/demo/accessibility.html +49 -0
- package/components/counter/demo/accessibility.md +34 -0
- package/components/counter/demo/api.html +13 -21
- package/components/counter/demo/api.md +49 -1299
- package/components/counter/demo/api.min.js +1 -8390
- package/components/counter/demo/auro-counter-group.min.js +8392 -0
- package/components/counter/demo/customize.html +53 -0
- package/components/counter/demo/customize.md +650 -0
- package/components/counter/demo/demo-support.js +1 -0
- package/components/counter/demo/demo-support.min.js +55792 -0
- package/components/counter/demo/design.html +52 -0
- package/components/counter/demo/design.md +192 -0
- package/components/counter/demo/getting-started.html +54 -0
- package/components/counter/demo/getting-started.md +482 -0
- package/components/counter/demo/index.html +14 -20
- package/components/counter/demo/index.md +117 -51
- package/components/counter/demo/index.min.js +1 -8390
- package/components/{dropdown/demo/keyboardBehavior.html → counter/demo/keyboard-behavior.html} +9 -42
- package/components/counter/demo/keyboardBehavior.html +7 -40
- package/components/counter/demo/pages.json +1 -0
- package/components/counter/demo/readme.html +12 -16
- package/components/counter/demo/readme.md +21 -47
- package/components/counter/demo/styles.min.css +1 -0
- package/components/counter/demo/styles.scss +1 -0
- package/components/counter/demo/voiceover.html +51 -0
- package/components/counter/demo/voiceover.md +80 -0
- package/components/counter/dist/index.js +2 -2
- package/components/counter/dist/registered.js +2 -2
- package/components/datepicker/README.md +2 -2
- package/components/datepicker/demo/accessibility.html +2 -3
- package/components/datepicker/demo/api.html +2 -2
- package/components/datepicker/demo/auro-datepicker.min.js +5 -4
- package/components/datepicker/demo/customize.html +1 -1
- package/components/datepicker/demo/demo-support.js +1 -60
- package/components/datepicker/demo/demo-support.min.js +60 -0
- package/components/datepicker/demo/design.html +3 -4
- package/components/datepicker/demo/getting-started.html +1 -1
- package/components/datepicker/demo/getting-started.md +2 -2
- package/components/datepicker/demo/index.html +1 -1
- package/components/datepicker/demo/keyboard-behavior.html +2 -4
- package/components/datepicker/demo/pages.json +1 -0
- package/components/datepicker/demo/readme.html +2 -2
- package/components/datepicker/demo/readme.md +2 -2
- package/components/datepicker/demo/styles.min.css +1 -1
- package/components/datepicker/demo/voiceover.html +2 -4
- package/components/datepicker/dist/index.js +5 -4
- package/components/datepicker/dist/registered.js +5 -4
- package/components/dropdown/README.md +0 -21
- package/components/dropdown/demo/accessibility.html +49 -0
- package/components/dropdown/demo/accessibility.md +45 -0
- package/components/dropdown/demo/api.html +11 -20
- package/components/dropdown/demo/api.md +40 -1364
- package/components/dropdown/demo/api.min.js +2 -5098
- package/components/dropdown/demo/auro-dropdown.min.js +5099 -0
- package/components/dropdown/demo/customize.html +54 -0
- package/components/dropdown/demo/customize.md +780 -0
- package/components/dropdown/demo/demo-support.js +1 -0
- package/components/dropdown/demo/demo-support.min.js +55792 -0
- package/components/dropdown/demo/design.html +52 -0
- package/components/dropdown/demo/design.md +186 -0
- package/components/dropdown/demo/getting-started.html +54 -0
- package/components/dropdown/demo/getting-started.md +463 -0
- package/components/dropdown/demo/index.html +12 -21
- package/components/dropdown/demo/index.md +78 -233
- package/components/dropdown/demo/index.min.js +1 -5097
- package/components/dropdown/demo/keyboard-behavior.html +48 -0
- package/components/dropdown/demo/pages.json +1 -0
- package/components/dropdown/demo/readme.html +8 -21
- package/components/dropdown/demo/readme.md +0 -21
- package/components/dropdown/demo/styles.min.css +1 -0
- package/components/dropdown/demo/styles.scss +1 -0
- package/components/dropdown/demo/voiceover.html +51 -0
- package/components/dropdown/demo/voiceover.md +63 -0
- package/components/dropdown/dist/index.js +1 -1
- package/components/dropdown/dist/registered.js +1 -1
- package/components/form/README.md +9 -9
- package/components/form/demo/accessibility.html +51 -0
- package/components/form/demo/accessibility.md +23 -0
- package/components/form/demo/api.html +12 -15
- package/components/form/demo/api.md +14 -290
- package/components/form/demo/api.min.js +2 -71921
- package/components/form/demo/auro-form.min.js +718 -0
- package/components/form/demo/autocomplete.html +2 -2
- package/components/form/demo/customize.html +54 -0
- package/components/form/demo/customize.md +246 -0
- package/components/form/demo/demo-support.js +1 -0
- package/components/form/demo/demo-support.min.js +55792 -0
- package/components/form/demo/getting-started.html +54 -0
- package/components/form/demo/getting-started.md +434 -0
- package/components/form/demo/index.html +13 -15
- package/components/form/demo/index.md +67 -97
- package/components/form/demo/index.min.js +2 -71921
- package/components/form/demo/keyboard-behavior.html +51 -0
- package/components/form/demo/pages.json +1 -0
- package/components/form/demo/readme.html +13 -18
- package/components/form/demo/readme.md +9 -9
- package/components/form/demo/registerDemoDeps.min.js +71212 -0
- package/components/form/demo/styles.min.css +1 -0
- package/components/form/demo/styles.scss +1 -0
- package/components/form/demo/voiceover.html +51 -0
- package/components/form/demo/voiceover.md +36 -0
- package/components/form/demo/working.html +3 -2
- package/components/input/README.md +2 -2
- package/components/input/demo/accessibility.html +1 -1
- package/components/input/demo/api.html +1 -1
- package/components/input/demo/auro-input.min.js +3 -2
- package/components/input/demo/customize.html +1 -1
- package/components/input/demo/demo-support.js +1 -60
- package/components/input/demo/demo-support.min.js +60 -0
- package/components/input/demo/design.html +2 -1
- package/components/input/demo/getting-started.html +1 -1
- package/components/input/demo/getting-started.md +2 -2
- package/components/input/demo/index.html +1 -1
- package/components/input/demo/keyboard-behavior.html +2 -1
- package/components/input/demo/pages.json +1 -0
- package/components/input/demo/readme.html +2 -2
- package/components/input/demo/readme.md +2 -2
- package/components/input/demo/styles.min.css +1 -1
- package/components/input/demo/voiceover.html +1 -1
- package/components/input/dist/base-input.d.ts +1 -0
- package/components/input/dist/index.js +3 -2
- package/components/input/dist/registered.js +3 -2
- package/components/menu/README.md +8 -26
- package/components/menu/demo/accessibility.html +53 -0
- package/components/menu/demo/accessibility.md +34 -0
- package/components/menu/demo/api.html +12 -18
- package/components/menu/demo/api.md +43 -1102
- package/components/menu/demo/api.min.js +2 -2288
- package/components/menu/demo/auro-menu.min.js +2289 -0
- package/components/menu/demo/customize.html +54 -0
- package/components/menu/demo/customize.md +637 -0
- package/components/menu/demo/demo-support.js +1 -0
- package/components/menu/demo/demo-support.min.js +55792 -0
- package/components/menu/demo/design.html +53 -0
- package/components/menu/demo/design.md +81 -0
- package/components/menu/demo/getting-started.html +54 -0
- package/components/menu/demo/getting-started.md +322 -0
- package/components/menu/demo/index.html +14 -20
- package/components/menu/demo/index.md +26 -63
- package/components/menu/demo/index.min.js +1 -2287
- package/components/menu/demo/keyboard-behavior.html +53 -0
- package/components/menu/demo/pages.json +1 -0
- package/components/menu/demo/readme.html +12 -16
- package/components/menu/demo/readme.md +8 -26
- package/components/menu/demo/styles.min.css +1 -0
- package/components/menu/demo/styles.scss +1 -0
- package/components/menu/demo/voiceover.html +53 -0
- package/components/menu/demo/voiceover.md +33 -0
- package/components/radio/demo/accessibility.html +3 -3
- package/components/radio/demo/api.html +3 -3
- package/components/radio/demo/api.md +44 -44
- package/components/radio/demo/api.min.js +2 -2168
- package/components/radio/demo/customize.html +3 -3
- package/components/radio/demo/demo-support.js +1 -60
- package/components/radio/demo/demo-support.min.js +55792 -0
- package/components/radio/demo/design.html +3 -3
- package/components/radio/demo/getting-started.html +3 -3
- package/components/radio/demo/getting-started.md +154 -0
- package/components/radio/demo/index.html +2 -3
- package/components/radio/demo/index.min.js +16 -2
- package/components/radio/demo/keyboard-behavior.html +3 -3
- package/components/radio/demo/pages.json +1 -0
- package/components/radio/demo/readme.html +3 -3
- package/components/radio/demo/styles.min.css +1 -0
- package/components/radio/demo/styles.scss +1 -0
- package/components/radio/demo/voiceover.html +3 -3
- package/components/radio/dist/index.js +1 -1
- package/components/radio/dist/registered.js +1 -1
- package/components/select/README.md +2 -2
- package/components/select/demo/accessibility.html +1 -1
- package/components/select/demo/api.html +2 -1
- package/components/select/demo/customize.html +1 -1
- package/components/select/demo/demo-support.js +1 -60
- package/components/select/demo/demo-support.min.js +60 -0
- package/components/select/demo/design.html +2 -1
- package/components/select/demo/getting-started.html +1 -1
- package/components/select/demo/getting-started.md +2 -2
- package/components/select/demo/index.html +1 -1
- package/components/select/demo/install.html +50 -0
- package/components/select/demo/install.md +2 -2
- package/components/select/demo/keyboard-behavior.html +1 -1
- package/components/select/demo/keyboardBehavior.html +1 -1
- package/components/select/demo/layout.html +2 -1
- package/components/select/demo/pages.json +1 -0
- package/components/select/demo/readme.html +2 -1
- package/components/select/demo/readme.md +2 -2
- package/components/select/demo/registered.min.js +2 -2
- package/components/select/demo/styles.min.css +1 -1
- package/components/select/demo/voiceover.html +1 -1
- package/components/select/dist/index.js +2 -2
- package/components/select/dist/registered.js +2 -2
- package/custom-elements.json +5 -2
- package/package.json +2 -2
- package/components/counter/demo/keyboard-behavior.md +0 -127
- package/components/dropdown/demo/keyboard-behavior.md +0 -72
- package/components/form/demo/keyboard-behavior.md +0 -38
- package/components/menu/demo/keyboard-behavior.md +0 -18
- package/components/radio/demo/keyboard-behavior.md +0 -72
- package/components/radio/demo/layout.md +0 -30
- package/components/radio/demo/styles.css +0 -974
|
@@ -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</auro-hyperlink>, i.e., these keys step through the browser tabindex sequence.</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,72 +0,0 @@
|
|
|
1
|
-
## Auro-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</auro-hyperlink>, i.e., these keys step through the browser tabindex sequence.</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 -->
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
<auro-header level="1" id="overview">Form - 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 <code><auro-form></code> component is a container element that does not participate in the <code>tabindex</code> sequence itself. The form elements it wraps (e.g., <code><auro-input></code>, <code><auro-select></code>, <code><auro-datepicker></code>) each participate independently in the browser's default <code>tabindex</code> sequence.</p>
|
|
7
|
-
<auro-header level="2" id="keyEvents">Key Events</auro-header>
|
|
8
|
-
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../docs/partials/keyEvents.md) -->
|
|
9
|
-
<!-- The below content is automatically added from ./../docs/partials/keyEvents.md -->
|
|
10
|
-
<table>
|
|
11
|
-
<thead>
|
|
12
|
-
<tr>
|
|
13
|
-
<th>Key</th>
|
|
14
|
-
<th>Modifier</th>
|
|
15
|
-
<th>Current State</th>
|
|
16
|
-
<th>Focus Element</th>
|
|
17
|
-
<th>Behavior</th>
|
|
18
|
-
</tr>
|
|
19
|
-
</thead>
|
|
20
|
-
<tbody>
|
|
21
|
-
<tr>
|
|
22
|
-
<td>Enter</td>
|
|
23
|
-
<td>-</td>
|
|
24
|
-
<td>Focus on a form element (not a textarea)</td>
|
|
25
|
-
<td>Any tracked form element (input, select, datepicker, etc.)</td>
|
|
26
|
-
<td>
|
|
27
|
-
Prevents default behavior and calls <code>submit()</code> on the form. Validates all elements and dispatches the <code>submit</code> event if the form is valid.
|
|
28
|
-
</td>
|
|
29
|
-
</tr>
|
|
30
|
-
</tbody>
|
|
31
|
-
</table>
|
|
32
|
-
<div class="note">
|
|
33
|
-
<p><strong>Note:</strong> The <code>Enter</code> key handler is skipped for <code><textarea></code> elements and elements with a <code>textarea</code> attribute to allow normal newline entry.</p>
|
|
34
|
-
</div>
|
|
35
|
-
<!-- AURO-GENERATED-CONTENT:END -->
|
|
36
|
-
</div>
|
|
37
|
-
</div>
|
|
38
|
-
</div>
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
<auro-header level="1" id="overview">Menu - 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 <code><auro-menu></code> component does not participate in the <code>tabindex</code> sequence directly. Keyboard navigation is managed by the parent component (e.g., <code><auro-select></code>, <code><auro-combobox></code>) through their keyboard strategy classes.</p>
|
|
7
|
-
<auro-header level="2" id="keyEvents">Key Events</auro-header>
|
|
8
|
-
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../docs/partials/keyEvents.md) -->
|
|
9
|
-
<!-- The below content is automatically added from ./../docs/partials/keyEvents.md -->
|
|
10
|
-
<!-- auro-menu does not implement direct keyboard event handling. -->
|
|
11
|
-
<!-- Keyboard navigation is delegated to parent components (auro-select, auro-combobox) via their keyboard strategy files. -->
|
|
12
|
-
<div class="note">
|
|
13
|
-
<p><strong>Note:</strong> The <code><auro-menu></code> component does not handle keyboard events directly. Keyboard navigation is managed by the parent component (e.g., <code><auro-select></code>, <code><auro-combobox></code>) through their keyboard strategy classes, which call menu methods such as <code>navigateOptions()</code>, <code>makeSelection()</code>, and <code>updateActiveOption()</code>.</p>
|
|
14
|
-
</div>
|
|
15
|
-
<!-- AURO-GENERATED-CONTENT:END -->
|
|
16
|
-
</div>
|
|
17
|
-
</div>
|
|
18
|
-
</div>
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
<auro-header level="1" id="overview">Radio - 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>Within an <code><auro-radio-group></code>, the currently selected radio (or the first enabled radio if none is selected) participates in the browser's default <code>tabindex</code> sequence. Arrow keys move focus and selection between radios within the group.</p>
|
|
7
|
-
<p>When the component is <code>disabled</code> it is removed from the <code>tabindex</code> sequence.</p>
|
|
8
|
-
<auro-header level="2" id="keyEvents">Key Events</auro-header>
|
|
9
|
-
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../docs/partials/keyEvents.md) -->
|
|
10
|
-
<!-- The below content is automatically added from ./../docs/partials/keyEvents.md -->
|
|
11
|
-
<table>
|
|
12
|
-
<thead>
|
|
13
|
-
<tr>
|
|
14
|
-
<th>Key</th>
|
|
15
|
-
<th>Modifier</th>
|
|
16
|
-
<th>Current State</th>
|
|
17
|
-
<th>Focus Element</th>
|
|
18
|
-
<th>Behavior</th>
|
|
19
|
-
</tr>
|
|
20
|
-
</thead>
|
|
21
|
-
<tbody>
|
|
22
|
-
<tr>
|
|
23
|
-
<td>Space</td>
|
|
24
|
-
<td>-</td>
|
|
25
|
-
<td>Not disabled</td>
|
|
26
|
-
<td>Radio element</td>
|
|
27
|
-
<td>
|
|
28
|
-
Selects the radio at the current focus index.
|
|
29
|
-
</td>
|
|
30
|
-
</tr>
|
|
31
|
-
<tr>
|
|
32
|
-
<td>ArrowDown</td>
|
|
33
|
-
<td>-</td>
|
|
34
|
-
<td>Focus within the radio group</td>
|
|
35
|
-
<td>Any radio in the group</td>
|
|
36
|
-
<td>
|
|
37
|
-
Selects and focuses the next enabled radio. Wraps from last to first. Skips disabled items. Calls <code>preventDefault()</code>.
|
|
38
|
-
</td>
|
|
39
|
-
</tr>
|
|
40
|
-
<tr>
|
|
41
|
-
<td>ArrowRight</td>
|
|
42
|
-
<td>-</td>
|
|
43
|
-
<td>Focus within the radio group</td>
|
|
44
|
-
<td>Any radio in the group</td>
|
|
45
|
-
<td>
|
|
46
|
-
Same as ArrowDown.
|
|
47
|
-
</td>
|
|
48
|
-
</tr>
|
|
49
|
-
<tr>
|
|
50
|
-
<td>ArrowUp</td>
|
|
51
|
-
<td>-</td>
|
|
52
|
-
<td>Focus within the radio group</td>
|
|
53
|
-
<td>Any radio in the group</td>
|
|
54
|
-
<td>
|
|
55
|
-
Selects and focuses the previous enabled radio. Wraps from first to last. Skips disabled items. Calls <code>preventDefault()</code>.
|
|
56
|
-
</td>
|
|
57
|
-
</tr>
|
|
58
|
-
<tr>
|
|
59
|
-
<td>ArrowLeft</td>
|
|
60
|
-
<td>-</td>
|
|
61
|
-
<td>Focus within the radio group</td>
|
|
62
|
-
<td>Any radio in the group</td>
|
|
63
|
-
<td>
|
|
64
|
-
Same as ArrowUp.
|
|
65
|
-
</td>
|
|
66
|
-
</tr>
|
|
67
|
-
</tbody>
|
|
68
|
-
</table>
|
|
69
|
-
<!-- AURO-GENERATED-CONTENT:END -->
|
|
70
|
-
</div>
|
|
71
|
-
</div>
|
|
72
|
-
</div>
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
<p>The component consists of the following elements:</p>
|
|
2
|
-
<ul>
|
|
3
|
-
<li>
|
|
4
|
-
<strong>radio group:</strong> a container element (<code><auro-radio-group></code>) that manages a collection of radio buttons, handles validation, and provides a shared legend and help text.
|
|
5
|
-
</li>
|
|
6
|
-
<li>
|
|
7
|
-
<strong>radio button:</strong> an individual selectable element (<code><auro-radio></code>) that can be toggled between selected and unselected states. Only one radio button in a group can be selected at a time.
|
|
8
|
-
</li>
|
|
9
|
-
<li>
|
|
10
|
-
<strong>legend:</strong> descriptive label rendered above the group of radio buttons, set via the <code>legend</code> slot on the group.
|
|
11
|
-
</li>
|
|
12
|
-
<li>
|
|
13
|
-
<strong>help text:</strong> descriptive text rendered below the group intended to help clarify the intended use of the component and any current validation error with instructions to resolve those errors.
|
|
14
|
-
</li>
|
|
15
|
-
</ul>
|
|
16
|
-
<auro-header level="4" id="radioGroup">Radio Group</auro-header>
|
|
17
|
-
<p>The group element coordinates shared behavior across all child radio buttons, including validation (e.g. <code>required</code>), error state display, and the <code>disabled</code> attribute which disables all options at once.</p>
|
|
18
|
-
<auro-header level="4" id="radioButton">Radio Button</auro-header>
|
|
19
|
-
<p>Each radio button renders a visual indicator (filled circle) and a label. A radio button may be in one of the following states:</p>
|
|
20
|
-
<ul>
|
|
21
|
-
<li>
|
|
22
|
-
<code>checked</code> - The radio button is selected and its value becomes the group's value.
|
|
23
|
-
</li>
|
|
24
|
-
<li>
|
|
25
|
-
<code>disabled</code> - The radio button is not interactive and cannot be selected.
|
|
26
|
-
</li>
|
|
27
|
-
<li>
|
|
28
|
-
<code>error</code> - Inherited from the parent group when validation fails.
|
|
29
|
-
</li>
|
|
30
|
-
</ul>
|