overlaystexulinot agent-emittableapp
ContextMenu.Trigger
context-menu-trigger
Region that opens the context menu.
Live examples
Canvas region
Canvas region
Loading demo…
Props
| Name | Kind | Required | Default | Description |
|---|---|---|---|---|
class | string | no | — | — |
children | slot | no | — | — |
disabled | boolean | no | false | — |
Keyboard
| Key | Action |
|---|---|
— | See accessibility notes for keyboard behavior. |
Accessibility
- Region text names the menu; long-press suppresses iOS callout.
Evidence for context-menu-trigger
Latest committed gates for context-menu-trigger (as of 2026-10-23). Static snapshot — not live CI.
Behavior
checkedscenario context-menu
Rows in tests/behavior/scenarios/context-menu.spec.ts, held to the WAI-ARIA APG pattern, run on Chromium, WebKit and the Pixel 7.
Size (gzip)
texuli/context-menu-trigger · budget 12.0 KiB
Budget from texuli.budgets.json; re-measure with `pnpm size --filter <entry>`.
Axe
documented
tests/e2e/site-component-pages.spec.tsdocs/quality (a11y-*)
Site component pages axe gate; package-level a11y docs under docs/quality when present.
Browsers
chromiumwebkitmobile
Playwright projects: Desktop Chrome, Desktop Safari, Pixel 7. Firefox is a known gap on this host.
When to use
Use when
- Define the hit target for a context menu
Don’t use when
Prefer another component
- Button menus