[wp-trac] [WordPress Trac] #28861: No easy way to get alt text of custom header image

WordPress Trac noreply at wordpress.org
Mon Jul 14 16:41:07 UTC 2014


#28861: No easy way to get alt text of custom header image
--------------------------+------------------------------
 Reporter:  henry.wright  |       Owner:
     Type:  enhancement   |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Themes        |     Version:  3.4
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------
Changes (by obenland):

 * version:  3.9.1 => 3.4


Old description:

> {{{get_custom_header()->width;}}} and {{{get_custom_header()->width;}}}
> can be used to get the width and height of the custom header image but
> there seems to be no easy way to get the image's alt text.
>
> The alt text is needed in cases where the custom header image is used to
> convey semantic content.

New description:

 {{{get_custom_header()->width;}}} and {{{get_custom_header()->height;}}}
 can be used to get the width and height of the custom header image but
 there seems to be no easy way to get the image's alt text.

 The alt text is needed in cases where the custom header image is used to
 convey semantic content.

--

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


More information about the wp-trac mailing list