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

WordPress Trac noreply at wordpress.org
Thu Oct 28 15:13:27 UTC 2021


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

Comment (by joedolson):

 While choosing a fallback to an empty alt attribute means that some themes
 could create empty links on the header images, it sounds like that's
 uncommon. The site owners are *able* to create correct alt text, and
 that's realistically the best we can do.

 I'd prefer an empty alt attribute to an incorrect alt attribute; and using
 the site name will almost certainly repeat text already in the `title`
 element, the logo, the site title, and other contexts.

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


More information about the wp-trac mailing list