[wp-trac] [WordPress Trac] #33312: WP a11y speak and iframes: doubled live regions

WordPress Trac noreply at wordpress.org
Sun Aug 9 00:12:51 UTC 2015


#33312: WP a11y speak and iframes: doubled live regions
--------------------------+----------------------------------------
 Reporter:  afercia       |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:  4.2
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:  accessibility, javascript
--------------------------+----------------------------------------

Comment (by azaozz):

 This happens because the `wp-a11y.js` is loaded in both: the iframe and
 the main window.

 This is the right way for that functionality to work. Keep in mind that
 iframes are pretty much same as separate windows/tabs, i.e. scripts from
 the main window do not run inside an iframe unless specifically designed
 to do so and meeting the "same domain" requirement.

 If we don't need the "speak" functionality inside the iframe, we should
 stop loading the script there.

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


More information about the wp-trac mailing list