[wp-trac] [WordPress Trac] #37382: Shiny Updates: error messages with HTML and wp.a11y.speak()
WordPress Trac
noreply at wordpress.org
Mon Jul 18 20:33:09 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 swissspidy):
> @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.
True, but definitely something for a new ticket :-)
> > 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.
That would probably be against the "short and meaningful" rule of thumb.
Therefore [attachment:37382.2.diff] seems preferable.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37382#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list