[wp-trac] [WordPress Trac] #11809: Galleries and template tags do not respect alternate text (was: Gallery shortcode does not respect alternate text)

WordPress Trac wp-trac at lists.automattic.com
Mon Apr 26 00:06:53 UTC 2010


#11809: Galleries and template tags do not respect alternate text
--------------------------+-------------------------------------------------
 Reporter:  doug          |       Owner:       
     Type:  defect (bug)  |      Status:  new  
 Priority:  normal        |   Milestone:  3.1  
Component:  Media         |     Version:  2.9.1
 Severity:  normal        |    Keywords:       
--------------------------+-------------------------------------------------

Old description:

> When adding an image directly to a post (using the media uploader), the
> alternate text specified by the user is used for the alt attribute of the
> img element. When using the [gallery] shortcode, however, the alt
> attribute for each image is a duplicate of the caption (post_excerpt) for
> that image. The alternate text supplied by the user is not used at all.

New description:

 When adding an image directly to a post (using the media uploader), the
 alternate text specified by the user is used for the alt attribute of the
 img element. When using the [gallery] shortcode, however, the alt
 attribute for each image is a duplicate of the caption (post_excerpt) for
 that image. The alternate text supplied by the user is not used at all.

 ----
 miqrogroove points out that the template tags for attachments variously
 output the image title or a blank attribute where the alt text should be.
 (Added by nacin)

--

Comment(by nacin):

 > Does that need to be a separate ticket?
 Probably fine here.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/11809#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list