Skip to content

Commit 699c5e5

Browse files
committed
remove Vaadin 25 from JSDoc
1 parent b92ac6f commit 699c5e5

File tree

2 files changed

+16
-16
lines changed

2 files changed

+16
-16
lines changed

packages/menu-bar/src/vaadin-menu-bar-mixin.d.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -102,18 +102,18 @@ export declare class MenuBarMixinClass {
102102
*
103103
* #### Disabled items
104104
*
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:
110112
*
111113
* ```
112-
* // Enable before any menu bar is attached to the DOM.
114+
* // Set before any menu bar is attached to the DOM.
113115
* window.Vaadin.featureFlags.focusableDisabledComponents = true
114116
* ```
115-
*
116-
* In Vaadin 25, disabled menu bar buttons will be focusable by default.
117117
*/
118118
items: MenuBarItem[];
119119

packages/menu-bar/src/vaadin-menu-bar-mixin.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -80,19 +80,19 @@ export const MenuBarMixin = (superClass) =>
8080
*
8181
* #### Disabled items
8282
*
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:
8890
*
8991
* ```
90-
* // Enable before any menu bar is attached to the DOM.
92+
* // Set before any menu bar is attached to the DOM.
9193
* window.Vaadin.featureFlags.focusableDisabledComponents = true
9294
* ```
9395
*
94-
* In Vaadin 25, disabled menu bar buttons will be focusable by default.
95-
*
9696
* @type {!Array<!MenuBarItem>}
9797
*/
9898
items: {

0 commit comments

Comments
 (0)