The Right-Click Menu HTML Almost Had
dead tags 2011 deadA native context menu declared in markup, shipped in exactly one browser.
In 2026: Dead, and the youngest corpse in this library. The contextmenu attribute pointed at a MENU element full of MENUITEMs and Firefox wired them into the real right click menu from 2011. No other browser ever shipped it, the spec dropped it, and Firefox removed it in version 85 in 2021. Right clicking the box below now shows the ordinary browser menu, custom items silently ignored.
Where it came from: The HTML5 context menu feature: contextmenu, MENU type=context and MENUITEM. Shipped in Firefox 8, 2011; implemented nowhere else; removed from the spec and then from Firefox 85, 2021.
caniuse ↗Bugzilla 617528 ↗
<div contextmenu="actions" style="border:2px dashed #999;padding:18px;font:13px Verdana">
Right-click in this box. Between 2011 and 2021, in Firefox, the menu grew a
Rotate item from the markup below. Now it is just a box.
</div>
<menu type="context" id="actions">
<menuitem label="Rotate the box"></menuitem>
<menuitem label="Sign my guestbook"></menuitem>
</menu>