Editor: Update components package for WordPress 5.6 RC3.

@wordpress/components: 11.1.2 -> 11.1.3

This fixes an accessibility regression with VoiceOver not announcing the input label or an existing selection in the parent page dropdown under "Page Attributes" in the sidebar.

See https://github.com/WordPress/gutenberg/pull/27431 for more details.

Props isabel_brison, sarahricker, alexstine, kevin940726, talldanwp.
Reviewed by isabel_brison, SergeyBiryukov.
Merges [49737] to the 5.6 branch.
Fixes #51923.
Built from https://develop.svn.wordpress.org/branches/5.6@49738


git-svn-id: http://core.svn.wordpress.org/branches/5.6@49461 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2020-12-03 14:47:29 +00:00
parent ca0e9e0891
commit b152d93471
4 changed files with 5 additions and 4 deletions

File diff suppressed because one or more lines are too long

View File

@ -30612,7 +30612,7 @@ function ComboboxControl(_ref) {
var message = hasMatchingSuggestions ? Object(external_this_wp_i18n_["sprintf"])(
/* translators: %d: number of results. */
Object(external_this_wp_i18n_["_n"])('%d result found, use up and down arrow keys to navigate.', '%d results found, use up and down arrow keys to navigate.', matchingSuggestions.length), matchingSuggestions.length) : Object(external_this_wp_i18n_["__"])('No results.');
Object(external_this_wp_a11y_["speak"])(message, 'assertive');
Object(external_this_wp_a11y_["speak"])(message, 'polite');
}
}, [matchingSuggestions, isExpanded]); // Disable reason: There is no appropriate role which describes the
// input container intended accessible usability.
@ -30638,6 +30638,7 @@ function ComboboxControl(_ref) {
instanceId: instanceId,
ref: inputContainer,
value: isExpanded ? inputValue : currentLabel,
"aria-label": currentLabel ? "".concat(currentLabel, ", ").concat(label) : null,
onFocus: onFocus,
isExpanded: isExpanded,
selectedSuggestionIndex: matchingSuggestions.indexOf(selectedSuggestion),

File diff suppressed because one or more lines are too long

View File

@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.6-RC2-49734';
$wp_version = '5.6-RC2-49738';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.