Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #33312, comment 3


Ignore:
Timestamp:
08/09/2015 12:14:19 AM (11 years ago)
Author:
azaozz
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #33312, comment 3

    initial v1  
    11This happens because the `wp-a11y.js` is loaded in both: the iframe and the main window.
    22
    3 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.
     3This 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 origin" requirement.
    44
    55If we don't need the "speak" functionality inside the iframe, we should stop loading the script there.