[wp-trac] [WordPress Trac] #37382: Shiny Updates: error messages with HTML and wp.a11y.speak()

WordPress Trac noreply at wordpress.org
Sun Jul 17 18:39:37 UTC 2016


#37382: Shiny Updates: error messages with HTML and wp.a11y.speak()
-------------------------------------+-------------------------------------
 Reporter:  afercia                  |       Owner:
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  4.6
Component:  Plugins                  |     Version:  trunk
 Severity:  normal                   |  Resolution:
 Keywords:  has-screenshots needs-   |     Focuses:  accessibility,
  patch shiny-updates                |  javascript
-------------------------------------+-------------------------------------

Comment (by adamsilverstein):

 In [attachment:37382.diff]: ensure all errorMessage use for `wp.speak` is
 stripped of HTML.

 [attachment:37382.2.diff] is an alternate approach that strips HTML from
 any string passed to `wp.wpeak`

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


More information about the wp-trac mailing list