Hi,
I think there is a mistake in the following help site.
https://help.libreoffice.org/7.1/en-GB/text/swriter/01/05060700.html
In the section "To access this command" is written "Choose Tools -
ImageMap - open context menu Macro". But there is no context menu
available where you can choose macro unless you create a clickable hotspot.
There should be a note which point to this requirement in this case.