Skip to content

Issue #30: Add onClick, accesskey, and tabindex tags to Image Map plug-in

Alx Sa requested to merge alxsa-imap-onclick into master

This patch attempts to resolve (the 21+ year old!) issue #30 (closed).

It adds two new fields to the HTML Link tab and one new field to the Javascript tab for area properties:

  • accesskey: The same as the mnemonic key shortcuts in GTK, to activate an area of the image map. Depending on the OS, you either hold ALT or ALT+SHIFT and this key.
  • tabindex: What order to select the area when the user presses Tab.
  • onClick: Run a Javascript function when the user clicks on the area

I also updated nearby code to the current GIMP coding style.

Edited by Alx Sa

Merge request reports