File tree 2 files changed +25
-0
lines changed
2 files changed +25
-0
lines changed Original file line number Diff line number Diff line change @@ -57,6 +57,20 @@ const metadata = {
57
57
* The <code>ui5-product-switch</code> is an SAP Fiori specific web component that is used in <code>ui5-shellbar</code>
58
58
* and allows the user to easily switch between products.
59
59
* <br><br>
60
+ *
61
+ * <h3>Keyboard Handling</h3>
62
+ * The <code>ui5-product-switch</code> provides advanced keyboard handling.
63
+ * When focused, the user can use the following keyboard
64
+ * shortcuts in order to perform a navigation:
65
+ * <br>
66
+ * <ul>
67
+ * <li>[TAB] - Move focus to the next interactive element after the <code>ui5-product-switch</code></li>
68
+ * <li>[UP/DOWN] - Navigates up and down the items </li>
69
+ * <li>[LEFT/RIGHT] - Navigates left and right the items</li>
70
+ * </ul>
71
+ * <br>
72
+ * <br>
73
+ *
60
74
* <h3>ES6 Module Import</h3>
61
75
* <code>import "@ui5/webcomponents-fiori/dist/ProductSwitch.js";</code>
62
76
* <br>
Original file line number Diff line number Diff line change @@ -126,6 +126,17 @@ const metadata = {
126
126
* <br><br>
127
127
* <b>Note:</b> <code>ui5-product-switch-item</code> is not supported when used outside of <code>ui5-product-switch</code>.
128
128
* <br><br>
129
+ *
130
+ * <h3>Keyboard Handling</h3>
131
+ * The <code>ui5-product-switch</code> provides advanced keyboard handling.
132
+ * When focused, the user can use the following keyboard
133
+ * shortcuts in order to perform a navigation:
134
+ * <br>
135
+ * <ul>
136
+ * <li>[SPACE/ENTER/RETURN] - Trigger <code>ui5-click</code> event</li>
137
+ * </ul>
138
+ * <br><br>
139
+ *
129
140
* <h3>ES6 Module Import</h3>
130
141
* <code>import "@ui5/webcomponents-fiori/dist/ProductSwitchItem.js";</code>
131
142
*
You can’t perform that action at this time.
0 commit comments