WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: PDF Tag Nesting Question

for

From: Olaf Drümmer
Date: Jul 24, 2013 10:29AM


Hi all,

these two variants are booth valid PDF syntax:

Non-nested example = weakly structured document:
<H1>
<P>
<H2>
<P>
<P>
<L>
<H3>
<P>
<H2>
<P>

Nested example = strongly structured document (note the use of H instead of H1...H6):
<H>
<P>
<H>
<P>
<P>
<L>
<H>
<P>
<H>
<P>


For practical reason - mostly lack of adoption by creation tools and by assistive technology - the weakly structured, non-nested approach is recommended.

Olaf