Copy link to clipboard
Copied
I have noticed a few things with accessible TOC's made in InDesign:
HOWEVER....
Doing these things destroys the bookmarks and the document exports without bookmarks, which is also a failure for PDF/UA criteria.
The only workaround I have found is to create a second automatic TOC that I do not mainipulate in any way, drag it into the pasteboard of the InDesign document, and re-export.
This second TOC generates the bookmarks, and the first TOC that is visible on the page now has the proper zoom settings and link-alt tags. The required <TOC> tag is preserved.
Does anyone have a better and less clumsy solution?
Copy link to clipboard
Copied
Well, basically, I think you're pointing out really valid problems with the accessibility of PDF docs exported from InDesign. I've seen quite a few documents lately that had auto-generated TOCs off on the pasteboard, with manually constructed TOCs and separate bookmarks in the live document, as if they're working from the same playbook as the one you just posted. It seems to me that better TOC generation in InDesign, if it were going to answer your better-solution question, will most likely require some feature requests. If I'm wrong, I'm sure that we can get some additional expertise in your thread (in the form of persons who have already posted in your accessibility threads, like @Bevi Chagnon - PubCom.com or @Willi Adelberger who have already posted in your recent thread about dot leaders in TOCs).
There is one contribution I'm certain that I can make, assuming you can figure out other ways to autogenerate TOCs without manual intervention: you needn't manually apply the dot-leader-underline Character Style. A more automated solution would be to specify a pair of Nested Styles in your TOC text paragraph style - the first applying no character style up to a tab, then a second applying your underline style through one tab. That way, your underline dot leader is applied with no manual handling of the TOC.
But the rest of your TOC challenges don't seem to have obvious answers I can provide. I suspect that the zoom settings in the hyperlinked TOC might be editable in IDML, but that's merely a hunch.
Copy link to clipboard
Copied
There is a way to do leader dots with GREP, but I am not clever enough to figure out how to do that. Someone provided it in another forum, but in a language I unfortunately don't speak. 😞
Copy link to clipboard
Copied
Post a link!
(I'm a localization engineer; if I can't parse the regex myself, and my machine translation tools can't provide a decent gloss, I have places where I myself can post "Who's up, right now, who knows GREP and thus-and-so language?" and have good reason to hope for useful answers.)
Copy link to clipboard
Copied
Find more inspiration, events, and resources on the new Adobe Community
Explore Now