Add alternate text for hyperlinks
The DOM is not available to add the alternate text for the hyperlinks. For accessibility, the alternate text is required for hyperlinks and the same is available in the latest InDesign app. I hope Javascript DOM might be useful to automate this.
-
琥珀猫太郎 commented
I created a plugin that allows you to retrieve and set the altText of hyperlinks from scripts.
https://github.com/KohakuNekotarou/KohakuExtendScriptHyperlinkAltTextPlease give it a try if you like.
-
Paul
commented
If this is so important to you, then write your own Javascript command and extent the IDML import/export yourself using the InDesign C++ - SDK.
Works with kChangeHyperlinkCmdBoss / IHyperlinkCmdData / SetHyperlinkAltText
-
Luis Felipe Corullón commented
This is critical. All features available in UI should be available in DOM.
-
Gregor Fellenz
commented
The fact that the alt text is lost in an IDML export is even more problematic.