[wp-trac] [WordPress Trac] #15926: Give header and background images alt tags

WordPress Trac wp-trac at lists.automattic.com
Sun Jan 9 03:24:10 UTC 2011


#15926: Give header and background images alt tags
---------------------------------------+-----------------------------
 Reporter:  jane                       |       Owner:
     Type:  defect (bug)               |      Status:  new
 Priority:  normal                     |   Milestone:  Future Release
Component:  Accessibility              |     Version:  3.0
 Severity:  minor                      |  Resolution:
 Keywords:  3.2-early, 508-compliance  |
---------------------------------------+-----------------------------

Comment (by SergeyBiryukov):

 Turned into a patch with a few changes. Note that `preg_replace('/[^0-9a-
 zA-Z ]/', '', $_POST['alt-text'])` doesn't allow non-English characters. I
 guess `esc_html()` can be used instead.

 http://codex.wordpress.org/Reporting_Bugs#Patching_Bugs might be helpful.

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


More information about the wp-trac mailing list