Make WordPress Core


Ignore:
Timestamp:
09/18/2019 05:40:35 PM (4 years ago)
Author:
whyisjake
Message:

Accessibility: Replace wp-a11y.js with @wordpress/a11y package

We've extracted wp-includes/wp-a11y.js to a reusable package wordpress/a11y which is published on NPM. Let's make sure this package is also used in WordPress core. Once all the JavaScript is built using webpack, we can also import this package wherever it is used and configure webpack to load is an external.

Props omarreiss, herregroen, desrosj, ocean90, afercia, sstoqnov

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/qunit/index.html

    r45979 r46167  
    2525        </script>
    2626        <script src="../../build/wp-includes/js/wp-util.js"></script>
    27         <script src="../../build/wp-includes/js/wp-a11y.js"></script>
     27        <script src="../../build/wp-includes/js/dist/a11y.js"></script>
    2828        <script>
    2929            window._wpMediaModelsL10n = {"settings":{"ajaxurl":"\/wp-admin\/admin-ajax.php","post":{"id":0}}};
Note: See TracChangeset for help on using the changeset viewer.