Log in Sign up

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?


2 years ago, 5 replies   request   added   Edit 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 2 years ago · Edit 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 2 years ago · Edit 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 2 years ago · Edit answer

Very cool! Thanks for doing that!

Answered 2 years ago · Edit answer

Yes, thank you! Seems to be working great

Answered 2 years ago · Edit answer