Kodza

Context Menu

A right-click menu that grows from the exact point you clicked, stays on screen and works from the keyboard with Shift + F10.

Navigation No dependencies menuright-clickkeyboardactions Added Jan 2026
/anim/context-menu/ Fullscreen

With your AI

Just ask.

Say it to your AI. It gets the exact code below, not its best guess, and knows where it goes.

Add a Kodza Context Menu to the files in my dashboard.

Not plugged in yet?
claude mcp add -t http kodza https://kodza.dev/api/mcp
Also in Codex, Cursor and VS Code.
kodza-context-menu.html
<div class="kodza-context-menu">
  <div class="kodza-context-menu__area" tabindex="0" aria-label="Right-click area. Press Shift and F10 to open the menu.">
    <p class="kodza-context-menu__title">Right-click anywhere in here.</p>
    <p class="kodza-context-menu__hint">or Shift + F10</p>
  </div>
  <div class="kodza-context-menu__menu" role="menu" aria-label="Actions">
    <button class="kodza-context-menu__item" type="button" role="menuitem">Copy <kbd class="kodza-context-menu__hint">⌘C</kbd></button>
    <button class="kodza-context-menu__item" type="button" role="menuitem">Paste <kbd class="kodza-context-menu__hint">⌘V</kbd></button>
    <button class="kodza-context-menu__item" type="button" role="menuitem">Rename</button>
    <div class="kodza-context-menu__separator" role="separator"></div>
    <button class="kodza-context-menu__item" type="button" role="menuitem" aria-disabled="true">Undo the last three hours</button>
    <button class="kodza-context-menu__item" type="button" role="menuitem">Move to trash <kbd class="kodza-context-menu__hint">⌫</kbd></button>
  </div>
</div>

Checked

Checked before you paste.

Robots poked at it before you did. Every component goes through the same checks, and again each time it changes.

What ranLast run
Accessibilityaxe-core 4.10.2: the WCAG 2.1 A and AA rules, plus best practices. 0 issues
KeyboardThe Tab key gets there, and the focus ring shows when it does. Passed
Reduced motionTurn on reduced motion and what moved just appears. Nothing loops. Passed
Light and darkThe same checks on both themes, contrast included. Passed
WordPressPasted into Twenty Twenty-Five, Twenty Twenty-One, Astra, Blocksy, GeneratePress, Hello Elementor, Kadence and OceanWP. Nothing to flag. 8 / 8 themes
Robots checked this. A human with VoiceOver hasn't yet.
KeyboardPress them in the preview
On the area
  • Opens the menu on the first itemContextMenu/⇧F10
In the menu
  • Next or previous item, round and round↓/↑
  • First or last itemHome/End
  • Next item starting with that letterA–Z
  • Picks it, focus back on the areaEnter/Space
  • Closes it, focus back on the areaEsc/Tab

More like this

More in Navigation