HTML5 Please

<menu>

Safe to use with polyfillhtml

The menu element groups interactive commands and, in its list form, gives toolbars and command lists a semantic container. The list usage is well supported today, while the older context menu behavior was removed, so treat it as a semantic grouping element.

Verdict
Safe to use
Category
HTML features
Browser support
Can I Use
Works in
no IE

Should you use <menu> in 2026?

Firefox has native support for context menus, and using the below polyfill other browsers will be able to do the same.

Polyfills and fallbacks

contextMenu