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

WordPress Trac noreply at wordpress.org
Sat Jul 16 16:02:55 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 swissspidy):

 Yay, another Shiny Updates bug! :-)

 I think we should strip the HTML for the `aria-live` region and think
 about dealing with those scenarios differently in a future release.

 The `An unexpected error occurred. …` error string is part of a number of
 files and  often gets displayed using `trigger_error()`, but sometimes is
 passed as a `WP_Error` object. We need to better understand why it
 currently is like that.

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


More information about the wp-trac mailing list