Automatically adding alt text to graphics

Here is a pie-in-the-sky project that is way beyond my abilities. Anyone up for that challenge will have my (and probably other's) endless gratitude.
I would like a script that creates an "alt text" for graphics based on the text of its caption in the document.
The structure would be something along the lines of:
1. Enumerating each anchored frame that contains a graphic
     a. Testing to see if a specific paragraph style follows the anchored frame
     b. If exists, selecting the text of that specific paragraph style
     c. Setting the "Alternate" object property of the anchored frame
So after most graphics we have a caption using a "Figure Title" paragraph style. The script should create the text like: "This image is a screen shot of " + figTitle. Then populate the Alternate field of the Object Attributes dialog box of the Object Properties of the anchored frame.

Milo--
While I'm not volunteering to write the script, I would encourage you to tackle it yourself. It is hardly a pie-in-the-sky project, and if you have any desire to expand your abilities, this would be a worthwhile exercise.
You've already taken the first step by outlining the basic structure.
There are several threads you might find useful in putting it all together
http://forums.adobe.com/thread/959627?tstart=0 --The main subject is about deleting aframes, but it spends a bit of time discussing how to iterate through all the frames in a document and determining their contents.
http://extendingframemaker.blogspot.com/2012/01/getting-elements-text.html --While the listed subject is getting text from an element, the approach is very similar to how you get text from a paragraph
http://forums.adobe.com/thread/926370?tstart=0 --Regarding setting attribute values

Similar Messages

  • Adding alt text tags in InDesign (and Acrobat Pro)

    I am having real difficulty adding alternative text tags. I created an INDD doc with rollover buttons linked to URLs firstly in InDesign CS4. I couldn't add alt text tags in CS4 so I then tried to add them in Acrobat X Pro but failed. Acrobat keeps wanting to class the PDF as a form. I then installed InDesign CS6 from the cloud and added alt text to the rollover buttons via object export options. However, these do not show when I export to PDF.
    Can someone help me add alt text to my rollover buttons in my interactive PDF either in InDesign CS6 or in Acrobat Pro after I export it?

    In InDesign CS6, you just need to add descriptions to buttons. This is done in the buttons and forms panel:
    This is the alt text in Acrobat when you roll over the button:
    Hope that helps!

  • I added alt text to an Indesign created graphic but it won't show in Acrobat

    I created these little check boxes in InDesign, basically a stroked box with a copied-from-Illustrator check mark. The box and the check are grouped and anchored to the each paragraph where the item has been completed (checked). I made sure the content of the frames were designated as graphic and not text or unassigned. I then click on the group, open object export options and assign a alt text desription (using custom setting), such as "completed" or "previiously completed", which is a gray check mark. InDesign shows the alt text, but when I export to Acrobat the PDF does not display the alt text. It sees it as a graphic but will not show the alt text that I created in InDesign.
    The only way I have found to fix this is to create the entire box and check in illustrator and import as "real" graphic. This is kinda of pain to reimport and reposition all the boxes, when InDesign has the ability to create these simple graphics.
    Any clue as to why Acrobat will not show the alt tags?

    Pretty annoying - I didn't "chose" to not show my settings....
    you selected something other than "show all" in the popUp menu over the presets list

  • Adding Alt Text to Images

    Hi
    I would like to add Alt text to a number of images on my site.
    I have been sucessful in achieving this by selecting either the image on the page or in the asset panel, right clicking and then going to Edit Image Properties.
    However I have a number of pages which contain Image compositions  initially created in Ilustrator then saved as flat jpeg or png images inserted using Fill into a Blank Composition Wigit. The images all have triggers on top.
    All of this works well
    However , I seem unable in any way, to by right clicking on the images either on the page in Design mode or by highlighting the file in the Asset panel  to bring up the Edit Image Properties dialogue box for the images (as part of the wigit composition).
    I get a dialogue box by right clicking but one that contains Paste /Select Same /Arrange /Lock etc
    Is it not possible to Add Alt Text to such combined images in a wigit  , Should anyAlt Text be added earlier in the Design , Fill or construction stage
    Any pionters or help would be very welcome
    Thank You 

    Hi
    I didn't get any replies to my post, but think I may have been able to resolve my own question.
    I had been using the Fill with Image option to accurately place the images in the Wigit. This process as I mentioned does not seem to allow one to access the Edit Image Properties dialoge properties window by right clicking the image.
    However when I deleted the image as a Fill and use the Place feature to insert the combined image with  the same X-Y co-ordinates (and did a liltte bit of work to get the Wigit triggers to the front) right clicking now seems to allow access the Edit Image Properties
    Success - I think !
    Thanks 

  • Adding alt text to composition widget images?

    How do I add alt text and image titles for Composition>Blank widgets images? When I control-click the image, the context menu does not include these options.

    I'm not sure how to describe the problem I'm having, so here's a screen shot of my composition widget with images placed (it's a bit sloppy, but I'm running out of patience for fine-tuning until I get this situation figured out).
    After file>placing a thumbnail image in a trigger, I file>placed the corresponding image in its target area. I then clicked on the second trigger, placed the thumbnail. But the second trigger didn't click through to the second target panel, which would have been a grey panel. So I thought I maybe I should just go ahead and place the second target image anyway, but it just sits there on top.  I did this for three images. The first target image placed is on the bottom, then the second, and the third placed target image is on top. So I can't figure out how to click from one target panel to the next to place each image, getting it to correspond with its proper trigger. Does this make any sense yet?
    You can see how they look like they are separate and layered, and when sizing, or moved in any way, they are become ungrouped, rather than as a group such as when I used the fill option. Last, when I click on the trigger thumbnail images, the triggers just aren't activating the target panels at all. I'm at a complete loss on this. I think I've tried everthing, but obviously I'm missing something. Thanks again.

  • Adding Alt text to prducts catalog images...

    I cannot find information on how to add Alt Text to my product images in the catalogs. Can anyone help?
    Thanks,
    Andre
    www.e-speakers.com

    If you use {tag_largeimage_path} that gives you the raw URL of the large image for example and you can then set this up in your own html with alt tag of say the product name or title.

  • Automatically adding material texts (MAKT) when saving material in MM42?

    Hi,
    In retail, when saving changes to a material (MM42), if texts in some languages are missing, I want to add them automatically by copy from an existing one.
    I'm trying to use method REFERENZ of BADI_ARTICLE_REF_RT but I can't seem to understand how it works.
    Any help appreciated.
    Thanks.
    Regards,
    Nuno

    Transaction Code - MM42                     Change Material &
    Exit Name           Description
    MGW00001            Material Master (Retail): Additional Data
    MGW00002            Material Master (Retail): Number Assignment
    No of Exits:          2
    USER EXIT
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sapgenie.com/abap/code/abap26.htm
    http://www.sap-img.com/abap/what-is-user-exits.htm
    http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction
    http://www.easymarketplace.de/userexit.php
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sappoint.com/abap/userexit.pdfUser-Exit
    http://www.sap-img.com/ab038.htm
    http://help.sap.com/saphelp_46c/helpdata/en/64/72369adc56d11195100060b03c6b76/frameset.htm
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sap-img.com/abap/what-is-user-exits.htm
    http://expertanswercenter.techtarget.com/eac/knowledgebaseAnswer/0,295199,sid63_gci982756,00.html
    Rewards if useful.........
    Minal

  • Tags, alt text, and PDF accessibility

    I'm thoroughly confused. I just finished the layout for a 176-page book in ID and I'm trying to tag the book for PDF accessibility. I read that it's better to tag in ID before you export to PDF. My problem is, I have no idea what I'm supposed to do or how to do it, and everything I'm reading is confusing me even more. I'm getting nowhere.
    I'm not expecting a full course on this, but can someone please answer a few questions to give me a kick start (I may even ask the wrong questions). 1.) How do you add alt text to graphics in ID, or Acrobat?  2.) How do you add a tag in ID. I mean, I can add a tag but I don't know where or why I'm adding it.  3.) How do you manually tag a file in Acrobat 9 Pro or edit the auto tagging once it's done?
    I'm using the most recent versions of ID and Acrobat Pro, and the most recent version of Mac OSX.
    Thank you.

    I too have been trying to figure this out and have followed the steps
    to add alt text to InDesign before exportign to PDF. I just can't see the alt text in either PDF  or in a browser displaying thee PDF fiel - I  know the tagged text is there because when I open
    the "touch up Reading order" dialog in the
    accesibility tab of Acrobat - the image displays with the appropriate  Alt text. I' checked the accessibility otpion in the browser as well [expand all alt text for images] but I still don't see the alt text when I mouse over teh image - what am I missign here?
    Ann

  • Why does Preview automatically resize the text box to cut off the last character of added text? How do I fix it?

    Why does Preview automatically resize the text box to cut off the last character of added text? How do I fix it?
    I use the Tools > Annotate > Add Text feature, and when I click away after adding text, it automatically changes the text box size such that the last letter -- or last word -- gets bumped off into an invisible line below it, forcing me to manually adjust every single text box. It is highly annoying when trying to complete PDF forms (e.g. job applications).
    It appears to be a glitch, quite honestly, an error resulting from Apple's product design. Has it been fixed in the new operating system (for which they want $30)?
    I would very much appreciate any help you can provide! Thank you for your time.

    * "Clear the Cache": Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    * "Remove the Cookies" from sites that cause problems: Tools > Options > Privacy > Cookies: "Show Cookies"
    Start Firefox in [[Safe Mode]] to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    * Don't make any changes on the Safe mode start window.
    See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]]

  • PO item Texts, Un-necessary characters ( &#10) are automatically added

    All SAP Gurus,
    In PO Texts (Item), we enter some text and when we are saving the PO, some un-necessary characters (
&#10) are automatically added into it.
    Only these characters are getting addded into the PO text.
    And these are added after each line we have entered.
    What may be the reason for this?
    Even after we remove these characters manually, these get added again when we try to save the PO again in ME22N.
    Regards,

    Hi,
    I think you can remove this additional characters(&#10).In me22, Under PO text ,there is SAPscript Editior,select that,then it will take into  sapscipt editor,then remove additional characters,then save it.
    I hope it will clear your problem.
    With Regards,
    Jaheer.

  • Adding simple ALT Text to a photo

    Is there some easy way of doing this? I have 30 photos or so
    and I'm supose to add Alt Text to all the pictures, with the
    peoples' names. The photos have a hot spot over them, so the photo
    isn't actaully the button.

    Check the font size in the options bar. If it's really small you won't see it.
    Look in your layer's palette and insure your text is in a layer located above the photo in the stack.
    You might also check your image's resolution in the Image Size dialog. I've seen a couple of posts where someone changes the resolution to 1 with resample turned off...then can't see the text because it's too small even when they have large numbers inserted in the font size box.

  • Alt text not appearing in WebHelp output

    We are using FrameMaker 10 and RoboHelp 9 to output as WebHelp. In the FM files, I have added alternate text to anchored frames containing images. When I update the linked FM files in my RH project, the screen tip is empty for these images, but when I look at the HTML source for the topic, it shows that the alt text is there:
    <p class="widegraphic"><img alt="Coach completes form and can either submit now or save it as a draft, edit it, and submit it later. After submit, employee receives task or alert notification, and coach receives task notification. Coach can still edit form at this point. Employee acknolwedges form and completes tasks, and employee task changes to complete. Coach completes task, and task status changes to complete. Lastly, coach receives alert or message notification.  "
                                 id="image2" src="using_bpl_form00003.jpg"
                                 style="margin-bottom: 6pt;" border="0" />&#160;</p>
    When I preview the topic in RH and hover my mouse over the image, the alt text appears in the preview window as expected, both in the default window and when I choose to preview in Firefox and IE. However, when I generate the WebHelp and hover my mouse over the images, nothing shows up at all, and the alt text is replaced by the file name:
    <p class="widegraphic"></p>
    <div align="left"><img alt="using_bpl_form00003.jpg" style="margin-bottom : 6pt; " id="image2" src="using_bpl_form00003.jpg" />
    </div>
    If, however, I manually copy and paste the alt text into the screen tip field of the image in the RH topic, the alt text does appear in the WebHelp output:
    <p class="widegraphic"><img alt="Coach completes form and can either submit now or save it as a draft, edit it, and submit it later. After submit, employee receives task or alert notification, and coach receives task notification. Coach can still edit form at this point. Employee acknolwedges form and completes tasks, and employee task changes to complete. Coach completes task, and task status changes to complete. Lastly, coach receives alert or message notification.  "
      id="image2" src="using_bpl_form00003.jpg"
      title="Coach completes form and can either submit now or save it as a draft, edit it, and submit it later. After submit, employee receives task or alert notification, and coach receives task notification. Coach can still edit form at this point. Employee acknolwedges form and completes tasks, and employee task changes to complete. Coach completes task, and task status changes to complete. Lastly, coach receives alert or message notification."
      style="margin-bottom: 6pt;" border="0" />&#160;</p>
    This seems like a pretty major bug to me. I know there have been scripts developed to delete the alt text so that graphic filename won't show up as the alt text, but is there anything that will take the existing alt text and populate the screen tip/title property with it, which seems to be the key to getting this to work in the output? There's no way I can manually copy and paste all the alt text into the images in RH, especially because I'll just end up having to redo it every time I update the linked FM files.
    Thanks,
    Jackie

    Hi Jackie,
    Offhand, your ALT string seems long. A quick search yielded info at http://www.htmlcodetutorial.com/images/images_famsupp_85.html
    If a lengthy description is needed to describe the image, use the LONGDESC attribute to point to the URL of another page which has the lengthy description. Because LONGDESC is not yet sufficiently supported, also follow the image with a "D-link". A D-link is a standard anchor link with contents consisting of the capital letter "D", like this:
    Do you experience the same behavior with short alt strings as well?
    -Matt
    @mattrsullivan

  • Alt-text 'tool tip' not appearing on some images

    We get pdf files created by outside sources that we then need to publish on our webpage.  I add tags to the pdf, then add the alt-text to the images via the Touch Up Text tool.  As well as I can determine, the tag for the alt-text is present in the pdf.  The Read Out Loud function in Acrobat reads the alt-text correctly as does a screen reader.  But the 'tool tip' does not appear on all images.  It seems that the more complex, mulitple layered dwg type images do not display the text, either from the browser, or from Acrobat itself.  Other dwg source images do work, and photgraphic images are ok.
    I have gone back through the pdfs to verify the existence of the figure tag, and that the alt-text is there.
    I have opened the tags dialog, looked at the properties, and added the text to the Title field as well as the alt-text and Actual Text.
    I have converted the images to jpgs, which resolves the issue, but greatly reduces the quality of the image.
    I am using Acrobat Pro 8.1.4 on a Windows XP, sp2 system.
    I am aware that the ADA requirement do not require the 'tool-tip' to function, but when you have many, many pages of images in a pdf using a screen reader or the read out loud function to test is not feasible for testing.  We need to have the tool-tip working, and I have run out of ideas on how to make it work.

    I just figured out that those photos had been set to a blending mode of Multiply
    because an earlier iteration of the design used transparency. But to the eye, they
    look like normal photos, so I didn't realize they were set to Multiply.
    This solved the problem but it's not heartening news. What if my graphic legitimately
    did have a blending mode set? What would my workaround be if I needed to set Alt Text
    for those images?

  • How to change Alt text for the Popup Key LOV Image in Apex  3.2.1.00.10

    we are using Application Express version is 3.2.1.00.10
    There is an icon to click on to popup the lov search box, the alt text for that image is currently "popup Lov"
    would it be possible to change the text to something more meaningfull e.g. "Lookup Person name" or "search Directory for Person names" .
    I have tried by updaing them
    from
    Shared Components>Templates> Popup List of Values Template > Popup Icon Attr --> width="13" height="13" alt="Popup Lov"
    (under Popup List of Values)
    to
    alt="#CURRENT_ITEM_NAME#"
    it didn't work.
    your respone will help getting accessability sign off

    Venu,
    Try adding title = "Lookup Person name" to the Image Attributes of your icon or button.
    Jeff

  • I have all my music on my external hard drive when I try to add it to iTunes it is automatically added to my MacBook Pro's hard drive. How do I stop this from happening? I just want the music to stay on the external hard drive. Thanks!

    I have all my music on my external hard drive when I try to add it to iTunes it is automatically added to my MacBook Pro's hard drive. How do I stop this from happening? I just want the music to stay on the external hard drive. Thanks!

    This is true of course, but doesn't cover the situation where some files are in the iTunes Media folder and others are on an external drive. In my case I keep my music in the Media folder and all my films on an external drive (there are too many to have on the internal drive). In iTunes 11, and before, it was easy to add those external files by holding down the alt/opt key while dragging to the sidebar. In iTunes 12 this is no longer possible. There are several workarounds: use TuneSpan to move the file after it's been added; delete the file from the Media folder and empty the trash then use iTunes Get Info which will report the file is missing and allow you to locate it; constantly switch the Add to iTunes toggle on and off as required. All of these require a lot more work than just holding down the alt/opt key while adding.
    It constantly gets harder.

Maybe you are looking for