Your sites Log in Sign up Menu

Would it be possible to use image title instead of alt text for the caption?

It appears you can set the title of an image like so![A screenshot of something](./_screenshot.png "this is a title"). I'm wondering if there could be an option to allow using the title instead of alt text for the image caption. Could be a nice convenience over putting in HTML for a caption.

Or is there already a good way to set a separate caption that I'm missing?


a year ago, 5 replies   request   added   Improve this question

I’d +1 this feature. It’d be great to be able to use alt text for its intended accessibility virtue and still easily set a separate caption.

Answered a year ago · Improve this answer

I like this too – I propose modifying the image caption feature such that the title is chosen as first priority, then the alt text as fallback. This feels more correct than ignoring the title and just using the alt text

Answered a year ago · Improve this answer

I've deployed a change to make this happen – the title text is chosen as first priority over the alt text when sourcing the image caption

Answered a year ago · Improve this answer

Very cool! Thanks for doing that!

Answered a year ago · Improve this answer

Yes, thank you! Seems to be working great

Answered a year ago · Improve this answer