Accessible alt text for hyperlinks needs to be supported by scripting
With InDesign scripting, it's possible to search for "searchTerms" from one column of a tab-delimited file, then set corresponding hyperlinks from another column. This means I can set hundreds of hyperlinks in just a few minutes. However, it remains impossible to set the hyperlink's alt text with a script — that function isn't scriptable. So either I ignore this important accessibility requirement (not an option), or I still have to manually edit each hyperlink, one at a time, wasting many hours and introducing the possibility of errors on each one.
For example, a document contains hundreds of product numbers or reference numbers, and each one needs to link to a URL. The numbers themselves aren't sufficient to describe what the links lead to; they need alt text. I have a spreadsheet that lists these numbers, their corresponding URLs and their alt text descriptions. I can set the hyperlinks using a script and the spreadsheet, but I can't set the alt text.
