[wp-trac] [WordPress Trac] #31368: Let WordPress speak

WordPress Trac noreply at wordpress.org
Fri Feb 27 23:46:05 UTC 2015


#31368: Let WordPress speak
------------------------------+----------------------------------------
 Reporter:  afercia           |       Owner:
     Type:  enhancement       |      Status:  new
 Priority:  normal            |   Milestone:  4.2
Component:  Administration    |     Version:  4.1
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |     Focuses:  accessibility, javascript
------------------------------+----------------------------------------

Comment (by afercia):

 Replying to [comment:7 azaozz]:
 > We don't need to output the HTML element everywhere from PHP. This is JS
 based, can add it with JS :)
 Yup, I've considered that option, but decided to keep it simple in the
 first proposal. I suppose using JS would be good also for making it
 available in the front-end. Would like to ask to consider, for the future,
 introducing a simple function, something like `wp_enqueue_media()`

 > @afercia if this looks good to you
 I'm embarassed you're really asking me :) whatever the changes you want to
 do, it's fine for me

 > Also, does the `#wp-a11y-speak` div have to be at the top in body?
 Just wanted to be sure it was in the DOM before the script run, was still
 unsure where to enqueue the script and initialiazation.
 Thanks very much :) also for keeping the console logging.

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


More information about the wp-trac mailing list