File tree 2 files changed +16
-16
lines changed 2 files changed +16
-16
lines changed Original file line number Diff line number Diff line change @@ -102,18 +102,18 @@ export declare class MenuBarMixinClass {
102
102
*
103
103
* #### Disabled items
104
104
*
105
- * When an item is disabled, it prevents any user interaction with it,
106
- * such as focusing, clicking, or opening a sub-menu. To improve accessibility,
107
- * disabled root-level items (menu bar buttons) can be made focusable so that
108
- * screen readers can reach and properly announce them to users. This behavior
109
- * can be enabled with the feature flag:
105
+ * When an item is disabled, it prevents any user interaction with it, such as
106
+ * focusing, clicking, or opening a sub-menu.
107
+ *
108
+ * To improve accessibility, disabled root-level items (menu bar buttons) can be
109
+ * made focusable so that screen readers can reach and properly announce them to
110
+ * users. Other interactions such as clicks remain disabled. This behavior is
111
+ * currently experimental and can be enabled with the feature flag:
110
112
*
111
113
* ```
112
- * // Enable before any menu bar is attached to the DOM.
114
+ * // Set before any menu bar is attached to the DOM.
113
115
* window.Vaadin.featureFlags.focusableDisabledComponents = true
114
116
* ```
115
- *
116
- * In Vaadin 25, disabled menu bar buttons will be focusable by default.
117
117
*/
118
118
items : MenuBarItem [ ] ;
119
119
Original file line number Diff line number Diff line change @@ -80,19 +80,19 @@ export const MenuBarMixin = (superClass) =>
80
80
*
81
81
* #### Disabled items
82
82
*
83
- * When an item is disabled, it prevents any user interaction with it,
84
- * such as focusing, clicking, or opening a sub-menu. To improve accessibility,
85
- * disabled root-level items (menu bar buttons) can be made focusable so that
86
- * screen readers can reach and properly announce them to users. This behavior
87
- * can be enabled with the feature flag:
83
+ * When an item is disabled, it prevents any user interaction with it, such as
84
+ * focusing, clicking, or opening a sub-menu.
85
+ *
86
+ * To improve accessibility, disabled root-level items (menu bar buttons) can be
87
+ * made focusable so that screen readers can reach and properly announce them to
88
+ * users. Other interactions such as clicks remain disabled. This behavior is
89
+ * currently experimental and can be enabled with the feature flag:
88
90
*
89
91
* ```
90
- * // Enable before any menu bar is attached to the DOM.
92
+ * // Set before any menu bar is attached to the DOM.
91
93
* window.Vaadin.featureFlags.focusableDisabledComponents = true
92
94
* ```
93
95
*
94
- * In Vaadin 25, disabled menu bar buttons will be focusable by default.
95
- *
96
96
* @type {!Array<!MenuBarItem> }
97
97
*/
98
98
items : {
You can’t perform that action at this time.
0 commit comments