[wp-trac] [WordPress Trac] #43632: Add a screen reader text for Hello Dolly lyrics

WordPress Trac noreply at wordpress.org
Sat Mar 16 09:11:47 UTC 2019


#43632: Add a screen reader text for Hello Dolly lyrics
---------------------------------------+----------------------------
 Reporter:  SergeyBiryukov             |       Owner:  audrasjb
     Type:  enhancement                |      Status:  assigned
 Priority:  normal                     |   Milestone:  5.2
Component:  Plugins                    |     Version:
 Severity:  normal                     |  Resolution:
 Keywords:  has-screenshots has-patch  |     Focuses:  accessibility
---------------------------------------+----------------------------
Changes (by audrasjb):

 * keywords:  has-screenshots has-patch needs-refresh => has-screenshots
     has-patch


Comment:

 In `43632.7.diff` :

 - Patch refreshed
 - Move lang attribute to the `<p>` tag

 Here is the rendering for english installs:

 {{{
 <p id="dolly">
         <span class="screen-reader-text">Quote from Hello Dolly song, by
 Jerry Herman: </span>
         <span>Well, hello, Dolly</span>
 </p>
 }}}

 And for non english installs:
 {{{
 <p id="dolly" lang="en">
         <span class="screen-reader-text">Quote from Hello Dolly song, by
 Jerry Herman: </span>
         <span>You’re still goin’ strong</span>
 </p>
 }}}

 Tested and works fine on my side :-)

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


More information about the wp-trac mailing list