WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Table of Conents structure in PDF

for

From: Ryan E. Benson
Date: May 11, 2012 4:44PM


Hi Rob,

This comes down to how precise you want to be. But the <TOC> tag
should be used to be a container. The <TOCI> tag should hold each
element. Then it is up to you. Some people/programs wrap the elements
in a <p> or <span>, and some like to wrap links in <link> tags. One
iteration be:

<TOC>
-<TOCI>
--<P>*
---<link>
----[your text]
----Link - OBJ
-<TOCI>
--.... [repeat]

Some say the <p> (or span) creates an extra level that isn't needed,
and kind of the same with <link>. I personally think <link> should be
used to keep the link elements packaged. The Link - OBJ is need to
make the link accessible via keyboard. You cannot create this one by
hand, there is a few ways how to. Read more about it at:
http://www.pws-ltd.com/sections/articles/2010/pdf_links.html
--
Ryan E. Benson


On Fri, May 11, 2012 at 3:10 PM, Carr, Robert G. < <EMAIL REMOVED> > wrote:
> Hello again-
>
> We have been working to get our testing procedures for PDF's wrapped up, and one of the things that seems to be the most tricky to pin down is a Table of Contents.  How should a Table of Contents be tagged in Acrobat's tag tree?  We have not noticed much of a difference in some of the different markup approaches when we test.  Is there a structurally and functionally "right" way to mark up a Table of Contents in Acrobat?  Is the way that Word typically converts them to PDF acceptable, or is there more cleanup to do after that conversion has occurred?
>
> Thanks a lot,
>
> Rob Carr
> <EMAIL REMOVED> <mailto: <EMAIL REMOVED> >
>
> > >