[wp-trac] [WordPress Trac] #33001: Customizer loads wp-a11y.js multiple times

WordPress Trac noreply at wordpress.org
Sat Jul 18 13:58:24 UTC 2015


#33001: Customizer loads wp-a11y.js multiple times
----------------------------------+----------------------------------------
 Reporter:  afercia               |       Owner:  westonruter
     Type:  defect (bug)          |      Status:  accepted
 Priority:  normal                |   Milestone:  4.3
Component:  Customize             |     Version:  4.2
 Severity:  normal                |  Resolution:
 Keywords:  has-patch needs-      |     Focuses:  accessibility, javascript
  testing                         |
----------------------------------+----------------------------------------

Comment (by afercia):

 Replying to [comment:3 westonruter]:
 > There's no need for `wp.a11y` in the Customizer preview
 @westonruter thanks :) Yup, agree `wp.a11y` shouldn't ever be loaded in
 the preview iframe unless themes or plugins are using it. Just a quick
 question: I know the script loader won't load already enqueued scripts but
 maybe we should remove `wp.a11y` from `customize-nav-menus` too? Other
 than this, tested with ChromeVox and Firefox+NVDA and all works nicely.

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


More information about the wp-trac mailing list