Make WordPress Core


Ignore:
Timestamp:
09/18/2019 05:40:35 PM (5 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/src/wp-admin/includes/update-core.php

    r45932 r46167  
    787787    'wp-includes/random_compat/random_bytes_openssl.php',
    788788    'wp-includes/js/tinymce/wp-tinymce.js.gz',
     789    // 5.3
     790    'wp-includes/js/wp-a11y.js', // Moved to: wp-includes/js/dist/a11y.js
     791    'wp-includes/js/wp-a11y.min.js', // Moved to: wp-includes/js/dist/a11y.min.js
    789792);
    790793
Note: See TracChangeset for help on using the changeset viewer.