views:

256

answers:

4

In Adobe Acrobat Pro, it's not that difficult to add links to a page, but I'm wondering if there's also a way to add "alt text" (sometimes called "title text") to links as well. In HTML, this would be done as such:

<a href="url" title="Text goes here">link</a>

Then when the mouse is hovering over the link, the text appears as a little tooltip. Is there an equivalent for PDFs? And if so, how do you add it?

A: 

No, it's not possible to add alt text to a link in a PDF. There's no provision for this in the PDF reference.

On a related note, links in PDFs and links in HTML documents are handled quite differently. A link in a PDF is actually a type of annotation, which sits on top of the page at specified co-ordinates, and has no technical relationship to the text or image in the document. Where as links in HTML documents bare a direct relationpship to the elements which they hyperlink.

Rowan
A: 

Alt text, or alternate text, is not the same as title text. Title text is meta data intended for human consumption. Alt text is alternate text content upon media in case the media fails to load.

I was already aware of that; however, you should also be aware that there are a number of people who use the term "alt text" as an (inaccurate) umbrella term to describe both.
SoaperGEM
+2  A: 

Actually PDF does support alternate text. It's part of Logical Structure documented PDF Reference 1.7 section 10.8.2 "Alternate Descriptions"

/Span << /Lang (en-us) /Alt (six-point star) >> BDC (✡) Tj EMC

Dwight Kelly
A: 

There is also a trick using an invisible form button that doesn't do anything but allows a small popup tooltip text to be added when the mouse hovers over it.

John K.