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

WordPress Trac noreply at wordpress.org
Sun Jul 17 20:06:00 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 shiny-   |     Focuses:  accessibility,
  updates 2nd-opinion                |  javascript
-------------------------------------+-------------------------------------

Comment (by afercia):

 Replying to [comment:3 adamsilverstein]:
 @adamsilverstein hi. Thanks for having a look into this.
 > I also thought that perhaps this functionality should be in wp.speak
 itself
 Yep, I've considered this option, and while it would resolve the technical
 issue in an efficient way, it wouldn't guarantee that the messages passed
 to `wp.speak.a11y()` should preferably be short and meaningful. Ideally,
 messages for `wp.speak.a11y()` should be carefully crafted case by case
 and we shouldn't assume already existing messages fit this specific use
 case.
 > would there ever be a use case where passing HTML into wp.speak would be
 useful? Perhaps for speaking out a code snippet?
 Hm difficult to say but probably very unlikely.

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


More information about the wp-trac mailing list