[wp-trac] [WordPress Trac] #55535: Pre-populate Image Alt Text field with IPTC Photo Metadata Standard Alt Text

WordPress Trac noreply at wordpress.org
Tue Jan 31 16:45:59 UTC 2023


#55535: Pre-populate Image Alt Text field with IPTC Photo Metadata Standard Alt
Text
-------------------------+----------------------------
 Reporter:  eatingrules  |       Owner:  joedolson
     Type:  enhancement  |      Status:  accepted
 Priority:  normal       |   Milestone:  6.2
Component:  Media        |     Version:
 Severity:  minor        |  Resolution:
 Keywords:  needs-patch  |     Focuses:  accessibility
-------------------------+----------------------------

Comment (by carolinescribely):

 IPTC Caption/Description is more for the visible captions that appear
 below the image. Caption/Descriptions provide the "facts" about an image
 (who, what, when, where).

 The IPTC Alt Text and Extended Description properties are for
 accessibility purposes specifically. Alt Text goes to the alt attribute
 for the image and Extended Description goes to the page reference linked
 from the image. More details on that here:
 https://www.w3.org/WAI/tutorials/images/complex/

 So, yes, the intent of this ticket would be to import Alt Text instead of
 Caption/Description when Alt Text is present. We want to import / preserve
 the Extended Description from the image metadata in Word Press so users
 can add it to the web using their preferred approach from the w3c
 guidance.

 Replying to [comment:25 pbiron]:
 > another thing to note: there is
 [https://core.trac.wordpress.org/browser/trunk/src/wp-
 admin/includes/image.php#L831 already code in core] to extra image
 caption/description info from EXIF data within an image.
 >
 > @eatingrules and @brendanquinn : is the intent of this ticket to prefer
 the 2 new IPTC fields for accessibility purposes?

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


More information about the wp-trac mailing list