Members Only

Adding Long Descriptions for Accessibility from InDesign

A solution for times when the alternative text field is not enough to describe an image adequately

Sometimes the parameters of the alternative text field are inadequate to describe an image for accessibility. Perhaps the description needs HTML markup or perhaps it just needs more characters in order to describe the image adequately. That’s where a long description comes in. Sometimes known as an extended description, this is an opportunity to describe an image thoroughly without length limits. The best way to do this in an ebook is to link out to a HTML file, linking back to the text at the end of the description. The HTML file holding the long description can be linear or non-linear (the latter meaning it is only visible to the reader when activated). And because some reading systems have difficulty with locations, linking out to a separate file is the best way to accomplish a long description without creating failure-to-locate confusion. It is a simple, elegant way to code a long description and, at present, works nicely across all reading systems. If you are creating your ebooks from InDesign, as is true of 95% of the ebooks on the market, than you know that there is no obvious way to do this from within InDesign. But by manipulating InDesign’s cross-references feature, we can get it done. Here are the steps to accomplish it: First, make sure that both the long description and the item you want to link it back to are formatted with unique paragraph styles. Both items need a hook, so to speak. In my example, the long description has a header with the style Backmatter. The thing I am linking back to already has a relatively unique style, Caption. Long Description for Bookplate with paragraph styles menu Next, create the cross references by placing your cursor where

you want to insert the link out to the long description. In this case, that’s in the image caption. Choose Type > Hyperlinks & Cross References > Insert Cross References. InDesign Hyperlinks and Cross-references menu In my example, I’ve chosen to insert the full paragraph of the backmatter header without quote marks. I’ve also applied a unique character style to the cross-reference, a bold italic style. InDesign New Cross-Reference dialog box So now, there’s a link from the image caption to the long description. To create a link in the opposite direction, from the long description back to the image caption, follow the same steps in reverse. Once that’s done, these two items—the image and the long description—will now be hyperlinked to one another. When this content is exported to EPUB, the links will work nicely both ways. The last step in this process is to mark the HTML file holding the long description as non-linear in the <spine>. That way, it can only be found via the link from the image caption. EPUB HTML file showing the <spine> element containing a non-linear item ref to a long description for an image Tip: In InDesign you can always check and test your cross-references in the Cross-References panel (Window > Type & Tables > Cross References). I have a video walk-through of the process on YouTube, check it out if you prefer watching over reading. I hope this method works for you. I am happy to hear about improvements or tweaks that you find.

Bookmark
Please login to bookmark Close

Not a member yet?

Get unlimited access to articles and member-only resources with a CreativePro membership.

Become a Member

Comments (0)

Leave a Reply

Your email address will not be published. Required fields are marked *

Loading comments...