The current context menu (and the one in 4.x) only recognizes <img> tags. Other types should be recognized, such as <input type=image>, background images, and images included using CSS. I'll attach a test page and a patch for nsContextMenu.js which implements all of these.
Thanks. This is a great patch. I'll work to get it checked in ASAP.
The submitted patch has been checked in. Thanks.