[wp-trac] [WordPress Trac] #26270: TITLE attribute valued over ALT attribute in Edit Media

WordPress Trac noreply at wordpress.org
Wed Nov 27 20:16:37 UTC 2013


#26270: TITLE attribute valued over ALT attribute in Edit Media
---------------------------+----------------------
 Reporter:  yaelkmiller    |       Owner:
     Type:  enhancement    |      Status:  closed
 Priority:  normal         |   Milestone:
Component:  Accessibility  |     Version:  3.7.1
 Severity:  normal         |  Resolution:  invalid
 Keywords:                 |
---------------------------+----------------------

Comment (by grahamarmfield):

 Replying to [comment:3 helen]:
 > I think this is a little misleading because of the existing post_title
 field that is being used here - if you don't specify different alt text,
 it will use the title for the alt text and does not output a title
 attribute by default. If you specify a different value for alt text, it
 will get used instead and is actually stored as post meta instead of
 post_title.
 Helen, can I ask why that is, as it doesn't seem sensible to me.

 That means you could end up with nonsense strings getting into the alt
 attribute - and thus to screen readers. If someone is not putting
 alternate text in they either don't understand what the field is for or
 they are purposefully leaving it blank. If then the title - which may be
 the default filename initially gets put into the alt I think that's not
 good.

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


More information about the wp-trac mailing list