thumbnail-zoom icon indicating copy to clipboard operation
thumbnail-zoom copied to clipboard

Prefer 'title' to 'alt' in captions

Open dadler opened this issue 13 years ago • 1 comments
trafficstars

Reddit titled their logo image like this: <a ... title="Congratulations to ..."> <img .... alt="Reddit.com " />

We ended up using "Reddit.com " as our caption but "Congratulations to ..." would have been better. If this pattern generalizes, we could have it ignore "alt" if it's able to find a "title" in an ancestor node (up to a certain depth, perhaps).

dadler avatar Apr 17 '12 06:04 dadler

As of 2.2, TZP has site-specific logic which helps it find good captions. This change might still be a good idea but it's low priority.

dadler avatar Aug 21 '12 15:08 dadler