change the h3 subtitles of the wordpress gallery shortcode

When I create an image gallery in a WordPress entry with shortcode and put their titles on them, they appear in H3

Any way to change them to be on h4? Example of a gallery image created in WordPress: