[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 18:40:16 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:  needs-patch   |     Focuses:  ui, accessibility
--------------------------+--------------------------------
Changes (by joedolson):

 * keywords:  needs-patch reporter-feedback => needs-patch


Comment:

 So, this problem occurs because the readonly attribute is not consistently
 applied. In the classic editor, if you use the 'Add Media' button above
 the content area, readonly is not applied during uploading. It is applied
 in the version of the modal that is used for featured images and in media
 modals in the block editor.

 So this appears to be specific to the version of the add media modal
 triggered above the classic editor content area. That same view may be
 called elsewhere or by plugins, so even though the classic editor is a
 non-default usage, this should be fixed.

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


More information about the wp-trac mailing list