[wp-trac] [WordPress Trac] #63800: Image Block: Alt Text resets when replacing image in block

WordPress Trac noreply at wordpress.org
Fri Aug 8 17:35:18 UTC 2025


#63800: Image Block: Alt Text resets when replacing image in block
--------------------------+------------------------------
 Reporter:  rahultank     |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Editor        |     Version:
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:  accessibility
--------------------------+------------------------------

Comment (by sabernhardt):

 > In my opinion, this would be an expected behavior.

 I agree.

 One case where the first alt text could also fit the replacement is if the
 image has a custom link, because then the alternative text would describe
 the link target. However, using the Replace feature also removes custom
 links.

 > When replacing an image inside the same block, the Alt Text resets to
 blank.

 The sidebar field would reset to blank if the image in the library has
 blank alt text, but any alternative text assigned to the new image in the
 library would be inserted in the block (and its sidebar settings).

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/63800#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list