[wp-trac] [WordPress Trac] #64947: Duplicate "Regenerate Alt Text" button appears in Block Editor sidebar when navigating between blocks - WordPress 7.0 RC1

WordPress Trac noreply at wordpress.org
Wed Mar 25 12:19:57 UTC 2026


#64947: Duplicate "Regenerate Alt Text" button appears in Block Editor sidebar when
navigating between blocks - WordPress 7.0 RC1
-------------------------------------+-------------------------------------
 Reporter:  torontodigits            |      Owner:  (none)
     Type:  defect (bug)             |     Status:  new
 Priority:  normal                   |  Milestone:  Awaiting Review
Component:  Editor                   |    Version:  trunk
 Severity:  normal                   |   Keywords:  needs-patch has-test-
  Focuses:  ui, accessibility,       |  info has-screenshots
  javascript, administration         |
-------------------------------------+-------------------------------------
 While testing the Block Editor in WordPress 7.0 RC1, a UI issue was
 observed where the "Regenerate Alt Text" button appears multiple times in
 the right sidebar.

 This occurs when navigating between different blocks, particularly when
 switching in and out of Image blocks. The button is duplicated instead of
 being rendered once per block selection.

 == Steps to Reproduce ==
 1. Open the Block Editor for a post or page.
 2. Insert or select an Image block.
 3. Navigate between different blocks (e.g., Paragraph → Image → Paragraph
 → Image).
 4. Observe the right sidebar (Block settings panel).

 == Expected Behavior ==
 Only one "Regenerate Alt Text" button should be displayed for the selected
 Image block.

 == Actual Behavior ==
 Multiple "Regenerate Alt Text" buttons are displayed in the sidebar.

 == Additional Notes ==
 - This may be caused by improper component unmounting or repeated
 rendering when switching between blocks.
 - The issue persists during the same editing session once triggered.

 == Environment ==
 * WordPress: 7.0 RC1
 * Editor: Block Editor (Gutenberg)
 * Browser: Microsoft Edge & Google Chrome
 * OS: Windows 11

 == Attachments ==
 - Screenshot showing duplicate buttons
 - Screencast video demonstrating the issue
 You may find screenshot & screencast on this link:
 [https://drive.google.com/drive/folders/1w2mjSUQQtKW82riiCaruckMsnz8lZ4eX]

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/64947>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list