Skip to content

alt text privacy issue in pptx #11208

@resistor4u

Description

@resistor4u

I am trying to specify alt text for images in a powerpoint and found IMHO a privacy concern. Here's an MRE.

---
title: "A pptx"
author: Kermit
date: 2025-10-13
header-includes:
    - \usepackage{setspace}
output:
  ioslides_presentation:
    incremental: true
---

![](https://www.worldanimalprotection.us/cdn-cgi/image/width=2304,format=auto/siteassets/images/farming/pigs/pig-in-field-getty.png "A super pig")

Process it with pandoc -t pptx mre.md -o mre.pptx and right click on the image to "View Alt Text." What I see is the expected alt text ("A super pig"), plus the source link.

People who use local images may not be expecting to reveal possibly sensitive context info like folder paths as alt text, e.g., ../../pics_from_jimmy/before_surgery/2024_10_10/image.jpg. I think defaulting to include link/path info is more of a privacy concern than a feature.

The xml field in question appears to be:

			<p:pic>
				<p:nvPicPr>
					<p:cNvPr descr="A super pig  https://www.worldanimalprotection.us/cdn-cgi/image/width=2304,format=auto/siteassets/images/farming/pigs/pig-in-field-getty.png" id="0" name="Picture 1"/>
					<p:cNvPicPr>
						<a:picLocks noGrp="1" noChangeAspect="1"/>
					</p:cNvPicPr>
					<p:nvPr/>
				</p:nvPicPr>

Commentary here suggests adding the link (or path) is necessary presumably if there's nothing else to include from the description. If there is a description (i.e., Alt Text) provided, can we omit the link/path?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions