[wp-trac] [WordPress Trac] #11314: Attribute "Alt" on images must to be improved on editor

WordPress Trac wp-trac at lists.automattic.com
Thu Dec 3 16:24:00 UTC 2009


#11314: Attribute "Alt" on images must to be improved on editor
-------------------------+--------------------------------------------------
 Reporter:  metacortex   |       Owner:                                         
     Type:  enhancement  |      Status:  new                                    
 Priority:  normal       |   Milestone:  2.9                                    
Component:  Editor       |     Version:  2.9                                    
 Severity:  normal       |    Keywords:  image, alt, alternative, caption, title
-------------------------+--------------------------------------------------
 Recently i noted a change in WP 2.9 beta about ALT attribute. At last is
 possible include an alternative string without touch the caption.

 However, this ALT string is stored on wpdb_postmeta table; why to proceed
 in this way? Now WP 2.9 must to query two large tables to construct a
 simple image tag. On the other hand, is true the actual Alt/Caption
 problem must to be solved. I propose:

 - Using '''post_title''' for "title", '''post_content''' for
 "caption"/"description" (shared) and '''post_excerpt''' for "ALT" text.
 or...

 - Use the same db structure as WP 2.8.X, with the difference a new
 checkbox would be added for activate caption, as is shown in the image i'm
 attaching.

 If three fields into '''wpbd_posts''' are available to this job, why to
 use a postmeta field to store ALT data? I don't understand the reason.

 Regards.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/11314>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list