We instruct our students and clients to ignore those particular errors in the TOC that are flagged by PAC and other checkers.
TOC entries do not need to have Alt Text per industry guidelines, although the PDF/UA-1 accessibility standards require that all hyperlinks have Alt Text.
If the TOCI already hyperlinks the live text "Chapter 5 ... 55," why would Alt text be needed? The purpose and context of the link is already known by the live linked text.
Alt Text would just repeat that Chapter 5 is on page 55, and that isn't very helpful because Alt Text is not very user friendly: there is no user control when hearing Alt Text, while live text retains full user control.
WCAG states this clearly: https://www.w3.org/WAI/WCAG21/Understanding/link-purpose-in-context.html If the linked text (not the Alt Text) is "meaningful" — that is, the user can figure out where they will end up if they clicked and why they should click the link — then nothing else is needed.
Alt-Text on hyperlinks was intended only for hyperlinks like "Click Here" or "More Info" where it's not clear where the user will end up if they actually clicked the link. It's also very useful for long convoluted hyperlinks like the one for this post's page, "https: //community.adobe.com/t5/indesign-discussions/table-of-contents-accessibility-bookmarks-vs-hyperlinks/m-p/14073151" which would be unintelligible gibberish to a screen reader user. Alt Text on that hyperlink could be something like "Adobe Community Forum post about accessible tables of content in PDFs".
The ISO committee that creates the PDF/UA-1 standard took a one-size-fits-all approach: if Alt Text is helpful for some links, then it should be on all links. If they had listemed to disability experts and people who actually use screen readers, I doubt they would have written the standard to be so all-or-nothing. The standard made a bad decision, IMHO.
Most checkers like PAC are written to follow the standard, so the checkers look at all hyperlinks and assess whether they have Alt Text or not, not whether they SHOULD have Alt Text. They are just software programs that can't make a subjective decision.
That's why we teach our clients and students to review those particular errors in PAC and other checkers and make their own decision about whether each link needs Alt Text or not.
I know our screen reader testers who are blind/low vision don't want Alt Text on TOCs, and that's who we listen to — not the programmers that dominate the ISO committee for PDF/UA.
Thank you for the very informative reply. I really do apprecaite knowing the why behind all this. However , my client does not want to know this - he just wants it pdf/ua compliant. I did find a solution thanks to the accessiblity facebook group - it is one of the fixes within the Adobe preflight panel - print production tool - preflight panel -
