[wp-trac] [WordPress Trac] #45066: Replace wp-a11y.js with @wordpress/a11y package

WordPress Trac noreply at wordpress.org
Sun Nov 4 12:02:14 UTC 2018


#45066: Replace wp-a11y.js with @wordpress/a11y package
-------------------------+----------------------------------------
 Reporter:  omarreiss    |       Owner:  omarreiss
     Type:  enhancement  |      Status:  assigned
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  General      |     Version:
 Severity:  normal       |  Resolution:
 Keywords:               |     Focuses:  accessibility, javascript
-------------------------+----------------------------------------
Changes (by afercia):

 * focuses:  javascript => accessibility, javascript


Old description:

> We've extracted wp-includes/wp-a11y.js to a reusable package
> [https://www.npmjs.com/package/@wordpress/a11y @wordpress/a11y] which is
> published on NPM. Let's make sure this package is also used in WordPress
> core. Once [https://core.trac.wordpress.org/ticket/43731 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.

New description:

 We've extracted wp-includes/wp-a11y.js to a reusable package
 [https://www.npmjs.com/package/@wordpress/a11y wordpress/a11y] which is
 published on NPM. Let's make sure this package is also used in WordPress
 core. Once [https://core.trac.wordpress.org/ticket/43731 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.

--

Comment:

 Seems to me everything works as expected, from an accessibility
 perspective. Thanks!

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


More information about the wp-trac mailing list