Skip to content

Commit 4ae12c5

Browse files
committed
polish JSDoc
1 parent 02b7f66 commit 4ae12c5

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -103,12 +103,12 @@ export declare class MenuBarMixinClass {
103103
* #### Disabled items
104104
*
105105
* When an item is disabled, it prevents any user interaction with it, such as
106-
* focusing, clicking, opening a sub-menu, etc. The item is also removed from the
107-
* tab order, which may negatively impact accessibility.
106+
* focusing, clicking, opening a sub-menu, etc. The item is also removed from
107+
* tab order, which makes it inaccessible to screen readers.
108108
*
109109
* To improve accessibility, disabled root-level items (menu bar buttons) can be
110-
* made focusable so that screen readers can reach and properly announce them to
111-
* users, while still preventing clicks. This is currently available as an
110+
* made focusable so that screen readers can still reach and properly announce
111+
* them, while still preventing clicks. This is currently available as an
112112
* experimental enhancement that can be enabled with the following feature flag:
113113
*
114114
* ```

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -81,12 +81,12 @@ export const MenuBarMixin = (superClass) =>
8181
* #### Disabled items
8282
*
8383
* When an item is disabled, it prevents any user interaction with it, such as
84-
* focusing, clicking, opening a sub-menu, etc. The item is also removed from the
85-
* tab order, which may negatively impact accessibility.
84+
* focusing, clicking, opening a sub-menu, etc. The item is also removed from
85+
* tab order, which makes it inaccessible to screen readers.
8686
*
8787
* To improve accessibility, disabled root-level items (menu bar buttons) can be
88-
* made focusable so that screen readers can reach and properly announce them to
89-
* users, while still preventing clicks. This is currently available as an
88+
* made focusable so that screen readers can still reach and properly announce
89+
* them, while still preventing clicks. This is currently available as an
9090
* experimental enhancement that can be enabled with the following feature flag:
9191
*
9292
* ```

0 commit comments

Comments
 (0)