Skip to content
This repository was archived by the owner on Feb 23, 2024. It is now read-only.

Commit f2f3c7c

Browse files
committed
Remove 'assertive' from speak calls
1 parent 8d100bd commit f2f3c7c

File tree

1 file changed

+3
-6
lines changed
  • assets/js/blocks/attribute-filter

1 file changed

+3
-6
lines changed

assets/js/blocks/attribute-filter/block.js

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -230,26 +230,23 @@ const AttributeFilterBlock = ( {
230230
),
231231
filterAddedName,
232232
filterRemovedName
233-
),
234-
'assertive'
233+
)
235234
);
236235
} else if ( filterAddedName ) {
237236
speak(
238237
sprintf(
239238
// translators: %s attribute term (for example: 'red', 'blue', 'large'...)
240239
__( '%s filter added.', 'woo-gutenberg-products-block' ),
241240
filterAddedName
242-
),
243-
'assertive'
241+
)
244242
);
245243
} else if ( filterRemovedName ) {
246244
speak(
247245
sprintf(
248246
// translators: %s attribute term (for example: 'red', 'blue', 'large'...)
249247
__( '%s filter removed.', 'woo-gutenberg-products-block' ),
250248
filterRemovedName
251-
),
252-
'assertive'
249+
)
253250
);
254251
}
255252
};

0 commit comments

Comments
 (0)