WordPress.org

Make WordPress Core

Changes between Version 2 and Version 3 of Ticket #50675, comment 1


Ignore:
Timestamp:
07/16/2020 02:33:37 AM (17 months ago)
Author:
azaozz
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #50675, comment 1

    v2 v3  
    44- `_wp_attachment_image_alt` (alt text for the img tag as saved in the DB).
    55
    6 Seems it may make sense to migrate the description and caption. Editing an already used image may require new description, and migrating the old description may be somewhat unexpected in these cases. On the other hand it is still the same image...
     6Seems it may make sense to migrate the description and caption. Editing an already used image may require new caption and description, and migrating the old values may be somewhat unexpected in these cases. On the other hand it is still the same image...
    77
    88Unsure about migrating the alt text though. According to [https://www.w3.org/WAI/tutorials/images/decision-tree/ W3C WAI] the img alt must be contextial. Even storing it in the DB is "questionable" when inserting a previously used image in the editor, see #47456. Editing and reusing an image is quite likely to be in different context, and require new alt text.