[wp-trac] [WordPress Trac] #45066: Replace wp-a11y.js with @wordpress/a11y package
WordPress Trac
noreply at wordpress.org
Wed Sep 18 22:30:04 UTC 2019
#45066: Replace wp-a11y.js with @wordpress/a11y package
-------------------------------------+-------------------------------------
Reporter: omarreiss | Owner: omarreiss
Type: enhancement | Status: closed
Priority: normal | Milestone: 5.3
Component: General | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch needs-testing | Focuses: accessibility,
has-unit-tests needs-refresh | javascript
-------------------------------------+-------------------------------------
Changes (by whyisjake):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"46169" 46169]:
{{{
#!CommitTicketReference repository="" revision="46169"
Accesibility: Replace wp-a11y.js with @wordpress/a11y package
Continuation of [46167]. This fixes the tests that ended up broken
following the previous commit.
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, garrett-eclipse
Fixes #45066
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/45066#comment:34>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list