[wp-trac] [WordPress Trac] #52891: Privacy: print screen reader text message

WordPress Trac noreply at wordpress.org
Thu Mar 25 20:20:13 UTC 2021


#52891: Privacy: print screen reader text message
--------------------------+------------------------------------------------
 Reporter:  mukesh27      |       Owner:  davidbaumwald
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  5.7.1
Component:  Privacy       |     Version:
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |     Focuses:  ui, accessibility, administration
--------------------------+------------------------------------------------
Changes (by davidbaumwald):

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 In [changeset:"50585" 50585]:
 {{{
 #!CommitTicketReference repository="" revision="50585"
 Privacy: Print screen reader text for the "Copy suggested policy text..."
 action button.

 This change switches out `sprintf` for `printf` on the "Copy suggested
 policy text from..." button screen reader text.  Also, wrap the actual
 button text in a `<span aria-hidden="true">` to prevent both the button
 text and the screen reader text from being spoken.

 Props mukesh27, SergeyBiryukov, sabernhardt.
 Fixes #52891.
 }}}

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


More information about the wp-trac mailing list