[wp-trac] [WordPress Trac] #30353: Update Hello Dolly to current standards

WordPress Trac noreply at wordpress.org
Sun Nov 16 14:35:35 UTC 2014


#30353: Update Hello Dolly to current standards
--------------------------------------+------------------------------
 Reporter:  pbearne                   |       Owner:
     Type:  defect (bug)              |      Status:  new
 Priority:  normal                    |   Milestone:  Awaiting Review
Component:  General                   |     Version:  2.0
 Severity:  normal                    |  Resolution:
 Keywords:  has-unit-tests has-patch  |     Focuses:  administration
--------------------------------------+------------------------------

Comment (by pbearne):

 it might be worth pulling out the a11n to improve usability


 {{{
     $chosen = hello_dolly_get_lyric();
     printf( '<p id="dolly"><span class="screen-reader-text">%s
 </span>%s</p>',
          _x( 'A random lyric from Hello, Dolly by Louis Armstrong:
 ','hello-dolly', 'a11n aria-label' ),
          esc_html( $chosen ) );
 }}}

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


More information about the wp-trac mailing list