Can image alt text reveal private details after redaction?
Yes. When you publish a redacted image, the HTML alt attribute and any attached caption are stored as separate text, so names, addresses, or account numbers written there remain readable even after you cover the pixels. Check both the page text fields and the image file before posting.
By Paul Bădărău, maker of Milkglass. Instructions checked on 30 November 2026.
Steps to check and rewrite alt text before publishing
- Open the photo in Photos on your iPhone, swipe up or tap the Info button, and check the Add a Caption field for names or places you meant to hide. Apple’s iPhone photo information guide
- If you are sharing from iPhone Photos, tap the Share button. Apple states that sharing a photo includes its metadata, such as date and time, location, device, and captions, so delete the caption in Info first if you do not want your photo description sent along. Apple’s guide to sharing photos and videos
- In your website editor, CMS, or social post screen, open the image’s alt text or description box and remove any detail you covered in the picture.
- Write a short description of what the reader needs from the image itself, such as where a redacted block sits on a form, without naming the hidden person or value. W3C’s WAI image text alternatives tutorial
- If the image is purely decorative and adds no information to the page, set an empty attribute (alt="") so screen readers skip it instead of reading the filename aloud.
What editing alt text affects
Changing the alt text on a web page or social post updates what screen readers announce, what appears if the image fails to load, and what search engines index for that page. It does not alter the pixels of the image file or strip text stored inside the file’s metadata.
If you uploaded the original photo earlier or embedded IPTC description fields inside the file, those copies keep their existing text until you replace the file or remove its metadata. Always inspect the exported image file separately from the CMS description box. IPTC Photo Metadata Standard
When private text still shows up around a redacted image
- The file has an IPTC caption or description. Some publishing tools copy a photo’s embedded IPTC description into the alt text or caption field automatically on upload. Run the image through a metadata check before uploading.
- The original filename still names the subject. When an alt attribute is missing or a reader downloads the file, the filename becomes visible. Check how photo filenames can reveal private details.
- A previous upload is cached. Replacing the image file without updating the post’s alt field, or updating the alt text while an older unredacted URL remains live, leaves the earlier version accessible.
Common questions about alt text and photo redaction
Should I leave alt text blank on a redacted photo to stay private?
No, if the image conveys useful information. W3C accessibility guidance recommends describing the purpose of an informative image in context. Describe the layout or visible action while leaving out the covered personal details, and reserve empty alt text for purely decorative graphics.
Does Apple Photos copy my caption into website alt text?
Some web platforms and social apps read embedded IPTC description fields when you upload a photo and prefill the caption or alt text box. Deleting the caption in Photos Info or stripping metadata before upload prevents that text from traveling with the file.
Can someone see alt text if they only download the image file?
The HTML alt attribute lives in the web page’s markup, not inside the JPEG or PNG file itself. However, if you also typed the same description into an IPTC caption or description field inside the image, anyone who downloads the file can read it in a metadata viewer.
Related redaction and metadata guides
Before you upload a covered image, learn how to verify a redacted copy and why you should use a solid black box instead of a highlighter. You can also check how captions can reveal a place without GPS or cover sensitive areas in the browser.