Google’s only advice on that is located here: https://developers.google.com/search/docs/advanced/guidelines/google-images — for “captions” less is more. Only use captions if you have clear useful info to say about the images. For example a “photography credit” would be a good reason or use of a caption.