

What changed

An image in a rich text had nowhere to keep a caption, so the captions of a site imported from WordPress were lost. Now the image’s drawer has a Caption, plain text shown under the image, and an Alt text, what a screen reader announces for the image in this text. Both are optional. A caption is the image’s own: left empty, there is none, and the Media library’s caption is shown only if you tick “Use the media’s caption”. An empty alt text takes the Media library’s, as before. A captioned image keeps its size and alignment: floated like this one, its caption floats with it. Images without a caption show as they did.
Where to see it
Features → Images in text: the medium image on the right has a caption. In the admin, click an image in a text, then its edit button: Caption, Use the media’s caption and Alt text are under Size and Alignment. The feeds show the caption too. Developers: template-site README, “Images in rich text: size and alignment”.