[wp-trac] [WordPress Trac] #46124: Allow setting custom image alt text in custom header image

WordPress Trac noreply at wordpress.org
Fri Jan 24 11:01:13 UTC 2020


#46124: Allow setting custom image alt text in custom header image
---------------------------+-----------------------------
 Reporter:  webmandesign   |       Owner:  audrasjb
     Type:  defect (bug)   |      Status:  accepted
 Priority:  normal         |   Milestone:  Future Release
Component:  Media          |     Version:  5.0.3
 Severity:  normal         |  Resolution:
 Keywords:  needs-testing  |     Focuses:  accessibility
---------------------------+-----------------------------
Changes (by sabernhardt):

 * keywords:  needs-patch => needs-testing


Comment:

 In `46124.2.patch`, a conditional statement searches for either of these
 two items:

 1. a customized header "alt_text" value (using a filter not yet available
 - see tickets #38942 and #46134)
 2. an uploaded image's "attachment_id" to take its alt text, if provided
 (it's possible but not easy to set this yet - see ticket:46127)

 Then if neither is found, the alt text is simply empty.

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


More information about the wp-trac mailing list