[wp-trac] [WordPress Trac] #18984: Accessibility: Title attribute should not be added to image markup by media.php

WordPress Trac noreply at wordpress.org
Fri Nov 30 00:48:00 UTC 2012


#18984: Accessibility: Title attribute should not be added to image markup by
media.php
--------------------------+-----------------------
 Reporter:  esmi          |       Owner:  nacin
     Type:  defect (bug)  |      Status:  reopened
 Priority:  normal        |   Milestone:  3.5
Component:  Media         |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+-----------------------

Comment (by koopersmith):

 attachment:18984.5.diff​ implements the fallbacks in JS instead of PHP, so
 strings created in JS and "from URL" output both benefit from the
 fallbacks as well.

 If we were to go with a PHP solution, attachment:18984.4.diff needs to
 prevent the `$title` var from being cleared before it's sent to the
 filter, and also ensure the title var would be sent over from the JS.

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


More information about the wp-trac mailing list