[wp-trac] [WordPress Trac] #50675: Media: migrate the data from the attachment post of the parent image when saving an edited image
WordPress Trac
noreply at wordpress.org
Fri Jul 17 18:02:37 UTC 2020
#50675: Media: migrate the data from the attachment post of the parent image when
saving an edited image
----------------------------------------+-----------------------
Reporter: azaozz | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 5.5
Component: Media | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch needs-unit-tests | Focuses: rest-api
----------------------------------------+-----------------------
Comment (by spacedmonkey):
I am not sure what you mean here. At alt is used to describe an image. The
current alt is doesn't care for context, why should we care now. I know
that if an image is cropped the alt might be wrong, but I think for people
using screen readers, something is better than nothing. I say we copy it
over and then the user can edit what is there. I think this is a safer
course of action, then not copying it at all.
What about the `post_title`? Should this be copied over to the new image
as well?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/50675#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list