[wp-trac] [WordPress Trac] #40245: Youtube embeds lack title attribute

WordPress Trac noreply at wordpress.org
Fri Mar 15 11:58:17 UTC 2019


#40245: Youtube embeds lack title attribute
--------------------------------------+----------------------------
 Reporter:  morriscountynj            |       Owner:  swissspidy
     Type:  enhancement               |      Status:  assigned
 Priority:  normal                    |   Milestone:  5.2
Component:  Embeds                    |     Version:  2.9
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:  accessibility
--------------------------------------+----------------------------

Comment (by afercia):

 Thanks @jrf! Then, I guess there's the need for a second (simpler) regex
 to use for the replacement at line 823. Would something like the following
 be OK or can we use something simpler?

 {{{#!php
 <?php
 '`title=(\\\\\'|\\\\"|[\'"]).*?\1`i'
 }}}

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


More information about the wp-trac mailing list