Feature #2049: Rich-text forum posts
Embedded image's caption is not rendering - Commons 1.10 testing
When I embed a picture into a forum post (from an image's URL in file repo) - the picture comes out perfectly, and size can be changed, but the caption's html is not rendered.
#4 Updated by Raymond Hoh almost 5 years ago
So the interesting thing here is bbPress doesn't support the
[caption] shortcode in their content either.
If you view the post that Scott made:
The caption shortcode is not rendered.
I think for "feature" parity, we remove the "Image Caption" box from the TinyMCE Image button and call it a day. Commit fc3c2d6 does this and is available on cdev for testing.
What does everyone think?
#6 Updated by Boone Gorges almost 5 years ago
I don't believe that captions are an accessibility feature specifically. WordPress's caption feature just wraps the text in p and div tags that aren't semantically related to the image itself. Screenreaders look at the image's alt text, which is set separately.
Removing the caption seems like the right short-term solution.