[wp-trac] [WordPress Trac] #21221: Image title and alt attribute content should be texturized.

WordPress Trac noreply at wordpress.org
Fri Mar 6 06:31:12 UTC 2015


#21221: Image title and alt attribute content should be texturized.
--------------------------+----------------------------
 Reporter:  stephdau      |       Owner:
     Type:  enhancement   |      Status:  new
 Priority:  normal        |   Milestone:  4.2
Component:  Media         |     Version:  3.4.1
 Severity:  normal        |  Resolution:
 Keywords:  dev-feedback  |     Focuses:  accessibility
--------------------------+----------------------------
Changes (by adamsilverstein):

 * keywords:  needs-unit-tests => dev-feedback
 * milestone:  Future Release => 4.2


Comment:

 Looks good @welcher, I haven't seen that @dataProvider technique before,
 excellent.

 I verified tests failed before patch and pass after...

 In [attachment:21221.4.diff] I refreshed @brianhogg's patch and combined
 with your tests, plus made some tiny code standards fixes (missing space
 near closing bracket of unit test functions).



 Replying to [comment:6 welcher]:
 > I've added some initial unit tests. They are my first core tests so any
 feedback is appreciated. I am re-using some of the data providers already
 in the class and if that approach makes sense, I'll go back and add the
 rest.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/21221#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list