Page MenuHomePhabricator

Provide default image alt text in more contexts and support custom alt text
ClosedPublic

Authored by epriestley on Mar 5 2021, 12:48 AM.
Tags
None
Referenced Files
F15575792: D21596.diff
Tue, May 6, 6:55 AM
F15549651: D21596.id.diff
Sun, Apr 27, 7:06 AM
F15545412: D21596.diff
Sat, Apr 26, 10:42 AM
F15492338: D21596.id51416.diff
Sat, Apr 12, 1:24 PM
F15475076: D21596.id51415.diff
Apr 6 2025, 3:29 PM
F15440249: D21596.diff
Mar 26 2025, 11:38 AM
F15294409: D21596.id51415.diff
Mar 5 2025, 7:17 AM
F15286084: D21596.id.diff
Mar 4 2025, 6:05 PM
Subscribers
None

Details

Summary

Ref T13629.

  • Allow files to have custom alt text.
  • If a file doesn't have alt text, try to generate a plausible default alt text with the information we have.
Test Plan
  • Viewed image files in DocumentEngine diffs, files, {Fxxx} embeds, and lightboxes.
  • Saw default alt text in all cases, or custom alt text if provided.
  • Set, modified, and removed file alt text. Viewed timeline and feed.
  • Pulled alt text with "conduit.search".

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.Mar 5 2021, 12:49 AM
epriestley requested review of this revision.
This revision was automatically updated to reflect the committed changes.