When inserting an image in a WordPress post, I would like that it automatically add the alt text of the image above the image as h2.
Example, when inserting an image, WordPress ads this into the post:
<img src="" alt="Hello" />
What I would like is inserting:
<h2>Hello</h2> <img src="" alt="Hello" />
Thank you for your help!