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

WordPress Trac noreply at wordpress.org
Wed Jul 20 14:25:36 UTC 2016


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

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


Comment:

 In [changeset:"38115"]:
 {{{
 #!CommitTicketReference repository="" revision="38115"
 Accessibility: Ensure only text is sent to aria-live messages.

 While messages passed to `wp.speak.a11y()` should preferably be
 meaningful,
 short, and carefully crafted case by case, this will ensure any HTML tags
 will
 be stripped out from the message string.

 Props adamsilverstein.
 Fixes #37382.
 }}}

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


More information about the wp-trac mailing list