WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: PDF Tagging - layout tables.

for

From: Karen McCall
Date: Jul 13, 2022 8:12AM


The other problem is when people use nested tables. If you have a document where tables have been used for design layout but the overall table is interrupted by nested data tables, all bets are off for developing an automated tool that can distinguish those nuances.

BTW, I agree about the lack of keyboard support in the Acrobat UI.

Cheers, Karen

-----Original Message-----
From: WebAIM-Forum < <EMAIL REMOVED> > On Behalf Of Steve Green
Sent: Wednesday, July 13, 2022 7:21 AM
To: WebAIM Discussion List < <EMAIL REMOVED> >
Subject: Re: [WebAIM] PDF Tagging - layout tables.

There's nothing like role="presentation" in PDFs. As Ryan says, you're going to have to re-tag the content, one tag at a time.

What I have wanted for years is a way to record and replay sequences of actions to make this sort of thing much faster. We were able to do that 15 years ago with Acrobat 7 because the Tags and Content panels were keyboard accessible. We bought a keystroke recorder that emulated a keyboard, and the efficiency improvement was staggering.

For instance, it took just a few seconds to create a list with all the <LI>, <Lbl> and <LBody> tags, or a table with all the <TH> tags, including "scope" attributes. You then had to drag all the content into the appropriate tags, but that was trivially easy.

Sadly, the Tags panel hasn't been keyboard accessible since Acrobat 8 (which is unforgivable), so the keystroke recorder technique no longer works. In principle, some other method of automation should be possible, but it would need to be able to programmatically interact with the Tags panel and would be much more complex if it's even possible at all.

Does anyone know if there is a way to record and replay sequences of actions such as changing the selected tag type or adding attributes to it? I had hoped that Acrobat's Action Wizard would do that, but it looks like it performs actions on entire documents, not individual tags.

Steve Green
Managing Director
Test Partners Ltd


-----Original Message-----
From: WebAIM-Forum < <EMAIL REMOVED> > On Behalf Of Ryan E. Benson
Sent: 13 July 2022 11:07
To: WebAIM Discussion List < <EMAIL REMOVED> >
Subject: Re: [WebAIM] PDF Tagging - layout tables.

Sean
If I was doing it manually, I'd just pull out the table related tags and tag the content as appropriate, such as paragraphs and lists. The ability to do this outside of Adobe comes down to the tool you are using to make the pdfs.

--
Ryan E. Benson

On Tue, Jul 12, 2022, 11:30 PM Murphy, Sean via WebAIM-Forum < <EMAIL REMOVED> > wrote:

> All,
>
> I have a request from one of our developers how to apply
> role="presentation" to a PDF document. From my research this appears
> not possible. The documents being created are dynamic in nature and
> the developer is creating a template. The table is being used for
> laying out information. Yes, might not be the best approach, but this
> is what we are working with.
>
> How can you simulate the role=presentation approach available in HTML
> for tables?
> Does anyone have development documentation to achieve this functionality?
>
>
> Any help here would be greatly welcomed.
>
> Regards
> Sean Murphy
>
> Sean Murphy | Senior Digital System specialist (Accessibility) Telstra
> Digital Channels | Digital Systems
> Mobile: 0405 129 739 | Desk: (02) 9866-7917
>
> Diversity is having a seat at the table, inclusion is having a voice,
> and belonging is having that voice be heard
>
> Submit an Engagement Accessibility form<
> https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fconf
> luence.tools.telstra.com%2Fdisplay%2FA11Y%2FDigital%2BAccessibilit&amp
> ;data%7C01%7C%7Ccd6f6ec2634243f3b81f08da64c1cfe7%7C84df9e7fe9f640af
> b435aaaaaaaaaaaa%7C1%7C0%7C637933080829966752%7CUnknown%7CTWFpbGZsb3d8
> eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3
> 000%7C%7C%7C&amp;sdataìPKpqo1t7nwIZ2zHKabOOD28Jx%2FUrb08iDFS6ws%2F1U
> %3D&amp;reserved=0
> y+Home
> >
> Accessibility Single Source of Truth<
> https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fconf
> luence.tools.telstra.com%2Fdisplay%2FA11Y%2FDigital%2BAccessibilit&amp
> ;data%7C01%7C%7Ccd6f6ec2634243f3b81f08da64c1cfe7%7C84df9e7fe9f640af
> b435aaaaaaaaaaaa%7C1%7C0%7C637933080829966752%7CUnknown%7CTWFpbGZsb3d8
> eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3
> 000%7C%7C%7C&amp;sdataìPKpqo1t7nwIZ2zHKabOOD28Jx%2FUrb08iDFS6ws%2F1U
> %3D&amp;reserved=0
> y+Home
> >
>
> > > https://nam12.safelinks.protection.outlook.com/?url=http%3A%2F%2Flist.
> webaim.org%2F&amp;data%7C01%7C%7Ccd6f6ec2634243f3b81f08da64c1cfe7%7
> C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637933080829966752%7CUnkno
> wn%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiL
> CJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=5Wny3k3%2FaoQUM7dLC%2BMStEFzQo
> SoT0TKUuI84Ld3UmQ%3D&amp;reserved=0 List archives at
> https://nam12.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwebai
> m.org%2Fdiscussion%2Farchives&amp;data%7C01%7C%7Ccd6f6ec2634243f3b8
> 1f08da64c1cfe7%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C6379330808
> 29966752%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiL
> CJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=7tl7c%2F8BHnHW
> b86353I6sD5txjWrZ4AdvuOW1a%2BLamE%3D&amp;reserved=0
> >