WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Redacted Text (was Strike-through Text)

for

From: Duff Johnson
Date: Apr 2, 2013 1:30PM


Gary,

First: Word and HTML. While some plugins are available (or so I've heard), successful redaction is rare in these formats; they just aren't well-suited to content removal. PDF, wherein each page essentially consists of lots of little drawings, is ideal in the vast majority of cases that don't involve a grease-pen or an Exacto knife (the traditional tools of redaction).

It's true you can redact PDF documents using Acrobat (and it's not the only such tool). There are, however, several things a responsible redactor needs to know that aren't altogether obvious..

1) Acrobat's redaction isn't comprehensive. While it removes content from the page it leaves the tags as-is. Accordingly, the fact of paragraphs, images, lists, etc. (don't forget the alt. text!!) remain in the tags tree even though they're been removed from the document. There's nothing left for AT to voice / zoom on / whatever, but the document structure is *not* redacted along with the content.

This might be fine for many applications, but national security agencies and other professionally paranoid types may feel otherwise. I also loathe Acrobat's selection model for redaction purposes, but I digress... that's not a gripe for this list.

2) The problem with Acrobat's redaction method from the accessibility point of view is that Acrobat by default leaves no indication that a redaction has occurred. A sighted user can see (in most cases) that a chunk of content is missing from the page, but this information is not available to AT users.

Whether redactions are invisible or visible, however, once you do redact using Acrobat you now need to ensure that your redactions (and the remaining content) are still tagged correctly. What if you redacted two items from a list? You'd need to remove those LI tags that used to include the redacted content, right? And so on.

I was thinking of writing a blog-post on this but I may as well spill it now….


How to redact PDF files in Acrobat while ensuring conformance with PDF/UA and WCAG 2.0:

1. Alter Acrobat's "Redaction Properties" to give the redacted area a Fill Color. Black seems to be the general favorite; I'm partial to a semi-transparent gray.

2. Go ahead and Mark areas or content for redaction, then Apply and Save. Now you have a nice PDF with blocks showing your redactions. So far, so good… you have a visual indication that a redaction has taken place.

(I'll stop here to say that if your intention is to create *invisible* redactions - i.e. - that the fact of a redaction is *not* apparent to any reader, then leave your Acrobat redaction defaults alone (set to "transparent). You'll still need to do step 4, though).

4. Clean up your tags; remove the tags that once enclosed content now redacted. If you redacted text within a tag you'll need to split that tag into two (enclosing the content "before" and "after" the redaction to allow the redaction mark's tag to go into correct logical reading order.

5. Tag the redaction mark (a "Figure" tag is appropriate in today's PDF) with alt. text: "Redacted content" or other, as you prefer. Depending on how the document was created and the extent of your redactions you may prefer to simply re-tag the whole PDF. This has the advantage that the auto-tagger will find all the redaction blocks and tag them as "Figure" for you (or, it should).

I hope this helps.

Duff Johnson

Independent Consultant
ISO 32000 Intl. Project Co-Leader, US Chairman
ISO 14289 US Chairman
PDF Association Vice-Chairman

p +1.617.283.4226
e <EMAIL REMOVED>
w http://duff-johnson.com


On Apr 2, 2013, at 1:57 PM, Andrew Kirkpatrick < <EMAIL REMOVED> > wrote:

> Gary,
> In acrobat you can redact text. In doing so, the text that is redacted is removed from the tag tree and content tree for the document, so when it is redacted it is gone.
>
> Thanks,
> AWK
>
> Andrew Kirkpatrick
> Group Product Manager, Accessibility
> Adobe Systems
>
> <EMAIL REMOVED>
> http://twitter.com/awkawk
> http://blogs.adobe.com/accessibility
>
>
> -----Original Message-----
> From: <EMAIL REMOVED> [mailto: <EMAIL REMOVED> ] On Behalf Of Morin, Gary (NIH/OD) [E]
> Sent: Friday, March 29, 2013 11:07 AM
> To: WebAIM Discussion List
> Subject: Re: [WebAIM] Redacted Text (was Strike-through Text)
>
> As a related item (in my mind), what recommendations or experience does anyone have in addressing "redacted" text - i.e., text that is blacked-out, such as a person's name in a legal or medical document. It doesn't come up as often as I'd expect, but the issue does surface every now and then. How would you format it in Word, PDF, html, etc.? Is the blacked-out text preserved as characters (e.g., XXXXX) or as an image with an alt-text and, if so, what alt-text is useful without becoming annoying every time it's used, which could be quite frequently in any one document.
>
> Thanks,
>
> Gary M. Morin, Program Analyst
> NIH Office of the Chief Information Officer
> 10401 Fernwood Rd, Room 3G-17
> Bethesda, MD 20892, Mail Stop: 4833
>
> (301) 402-3924 Voice, 451-9326 TTY/NTS
> New: 240 200 5030 Videophone; (301) 402-4464 Fax
>
> http://508.nih.gov
>
> Section 508 coordinators: http://ocio.od.nih.gov/Accessibility/Sec508coordinators.html
>
> NIH Section 508 Team: mailto: <EMAIL REMOVED> ?subject=Section 508 Help or, for Section 508 Guidance, http://www.hhs.gov/web/508/index.html
>
> Looking for Training: AT100 - Section 508 Electronic & IT Training - Phase II
>
> Consider the environment. Please don't print this e-mail unless you really need to.
>
> WHAT IF THE FIRST QUESTION WE ASKED WAS, "WHAT IS SO UNIQUE ABOUT THIS SITUATION THAT IT JUSTIFIES EXCLUSION? INSTEAD OF, "HOW MUCH DOES IT COST TO MAKE IT ACCESSIBLE?"
>
> -----Original Message-----
> From: David Ashleydale [mailto: <EMAIL REMOVED> ]
> Sent: Wednesday, March 27, 2013 8:12 PM
> To: WebAIM Discussion List
> Subject: [WebAIM] Strike-through Text
>
> Hi,
>
> Have any of you ever come across an accessible solution for text with a strike-through effect applied to it? I just saw an implementation that used
> "text-decoration: line-through" in the CSS, but JAWS 14 just reads the text as if nothing is different about it at all.
>
> And I think that <strike> and <s> are deprecated in HTML 4.
>
> Would this need to be shored up for screen reading software with some hidden text explaining that the words are struck out?
>
> The example of this is a page that has a fee for something, but the fee is struck out and the word "Free!" is placed after it. The page author wants to show that there used to be a fee, but now it's free.
>
> Thanks,
> David Ashleydale
>
> > > > > >