Make WordPress Core

Opened 2 years ago

Closed 2 years ago

Last modified 2 years ago

#55544 closed defect (bug) (fixed)

Script loader: Add `wp-a11y` as depenency of `wp-ajax-response`.

Reported by: peterwilsoncc's profile peterwilsoncc Owned by: peterwilsoncc's profile peterwilsoncc
Milestone: 6.0 Priority: normal
Severity: normal Version:
Component: Script Loader Keywords: has-patch
Focuses: javascript Cc:


In [52170] for #42937 some wp.a11y.speak() calls were added to wp-ajax-response.

The dependency needs to be added to the script registration as a follow up.

Change History (3)

#2 @peterwilsoncc
2 years ago

  • Owner set to peterwilsoncc
  • Resolution set to fixed
  • Status changed from new to closed

In 53103:

Script loader: Add wp-a11y as dependency of wp-ajax-response.

Ensure wp.a11y.speak() is available when called in wp-ajax-response.

Follow up to [52170].

Props afercia.
Fixes #55544.
See #42937.

Note: See TracTickets for help on using tickets.