You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/src/pages/components/ContextMenu.svx
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -12,6 +12,8 @@ In the examples, right click anywhere within the iframe.
12
12
## Basic
13
13
14
14
The context menu appears when right-clicking anywhere in the window. Use context menu option for menu items and context menu divider for visual separation.
15
+
16
+
The root element has `role="menu"`. Set `labelText` or `aria-label` on `ContextMenu` so assistive technologies get a meaningful name. This matters most for the default window-wide behavior (`target` unset), where there is no visible trigger to label the menu with `aria-labelledby`.
0 commit comments