[wp-trac] [WordPress Trac] #46124: Allow setting custom image alt text in custom header image
WordPress Trac
noreply at wordpress.org
Mon Jan 28 14:09:04 UTC 2019
#46124: Allow setting custom image alt text in custom header image
---------------------------+-----------------------------
Reporter: webmandesign | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Media | Version: 5.0.3
Severity: normal | Keywords:
Focuses: accessibility |
---------------------------+-----------------------------
Currently when using custom header feature and displaying an image in
custom header, the
[https://developer.wordpress.org/reference/functions/get_header_image_tag/
get_header_image_tag()] function sets the custom header image alt text to
`get_bloginfo( 'name' )` only.
It is not possible to override the alt text by setting a custom alt text
for the image in Media Library.
To improve accessibility, this should be possible.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/46124>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list