Skip to content

Commit

Permalink
Add script dependency to a11y
Browse files Browse the repository at this point in the history
  • Loading branch information
sirreal committed Sep 6, 2024
1 parent a39c437 commit e752db0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/interactivity-api.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,10 @@ function gutenberg_reregister_interactivity_script_modules() {
wp_register_script_module(
'@wordpress/interactivity-router',
gutenberg_url( '/build-module/interactivity-router.min.js' ),
array( '@wordpress/interactivity' ),
array(
array( 'id' => '@wordpress/a11y', 'import' => 'dynamic' ),

Check failure on line 28 in lib/interactivity-api.php

View workflow job for this annotation

GitHub Actions / PHP coding standards

When a multi-item array uses associative keys, each value should start on a new line.
'@wordpress/interactivity',
),
$default_version
);
}
Expand Down

0 comments on commit e752db0

Please sign in to comment.