E-mail List Archives

Re: DL, DT, DD in PDFs

for

From: Duff Johnson
Date: May 25, 2017 3:08PM


It’s true there’s no point in using dl/dt/dd as structure elements (unless you are going to map them appropriately, which sort of loses the point in a different way). However, there _is_ a way to do definition lists with PDF, as I indicated. It’s as capable as HTML's <dl> model, and actually, more general and flexible. Sadly, support for this feature of PDF is uneven.

Duff.

> On May 25, 2017, at 14:08, Alan Zaitchik < <EMAIL REMOVED> > wrote:
>
> So I gather there's no point in using the dl/dt/dd semantics or no way to do so with the PDF. Gotcha.Thanks!
> A
>
>> On May 24, 2017, at 3:25 PM, Duff Johnson < <EMAIL REMOVED> > wrote:
>>
>> Hi Alan,
>>
>>> I am making accessible a rather long Pdf that includes a 10 page
>>> ³Glossary².
>>> I am restricted to the PDF file and Acrobat, and I cannot revert to the
>>> original (Word?) document.
>>> The Glossary section was generated as a series of paragraphs, one per
>>> glossary item. Not even a list.
>>>
>>> Now I can (laboriously and manually) create a List structure for the
>>> Glossary items, but I wondered about using ³dl², ³dt², and ³dd² tags.
>>> If this were an HTM document that is what I would use here.
>>> Is that the preferred solution for PDF files as well? Will it make a
>>> difference to assistive technology reading the PDF?
>>
>> Within one or more <L>/<LI> structures (of course), use <Lbl> tags for the term and <LBody> tags for the definition.
>>
>> Duff.