[wp-trac] [WordPress Trac] #58783: Alternative text entered whilst uploading an image is lost when the image finished uploading

WordPress Trac noreply at wordpress.org
Thu Jan 11 19:36:29 UTC 2024


#58783: Alternative text entered whilst uploading an image is lost when the image
finished uploading
-------------------------------------------------+-------------------------
 Reporter:  codepo8                              |       Owner:  joedolson
     Type:  defect (bug)                         |      Status:  accepted
 Priority:  normal                               |   Milestone:  6.5
Component:  Media                                |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch needs-testing has-         |     Focuses:  ui,
  testing-info                                   |  accessibility
-------------------------------------------------+-------------------------
Changes (by joedolson):

 * keywords:  needs-patch => has-patch needs-testing has-testing-info


Comment:

 The attached patch disables local editing while an image is uploading. In
 my testing, this resolves the issue.

 To test:

  - Use the classic editor's "Add Media" link to upload items.
  - Upload a large image or multiple images. (Small images will upload too
 quickly, and you won't be able to inspect what's happening.)
  - Verify that before the patch, the input fields for uploading images are
 editable; and after the patch, those same fields are readonly for images
 that are actively uploading, but editable for images that have completed
 uploading.

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


More information about the wp-trac mailing list