Steps to replicate the issue (include links if applicable):
- Edit an article with a gallery in visual editor on the desktop.
- Edit the gallery.
- Edit an existing caption in which "Use the caption as the alternative text" is checked.
What happens?:
After editing the caption, the old alt text remains.
What should have happened instead?:
The old alt text should immediately change.