From 17ab36ec89e6e2b05071cdafecb44421f1e91334 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 6 Nov 2023 01:36:54 -0800 Subject: [PATCH] Version Packages (#5797) Co-authored-by: github-actions[bot] --- .changeset/blue-kings-serve.md | 14 -------------- packages/react-select/CHANGELOG.md | 16 ++++++++++++++++ packages/react-select/package.json | 2 +- 3 files changed, 17 insertions(+), 15 deletions(-) delete mode 100644 .changeset/blue-kings-serve.md diff --git a/.changeset/blue-kings-serve.md b/.changeset/blue-kings-serve.md deleted file mode 100644 index 4376283c77..0000000000 --- a/.changeset/blue-kings-serve.md +++ /dev/null @@ -1,14 +0,0 @@ ---- -'react-select': minor ---- - -1. Added 'aria-activedescendant' for input and functionality to calculate it; -2. Added role 'option' and 'aria-selected' for option; -3. Added role 'listbox' for menu; -4. Added tests for 'aria-activedescendant'; -5. Changes in aria-live region: - -- the instructions how to use select will be announced only one time when user focuses the input for the first time. -- instructions for menu or selected value will be announced only once after focusing them. -- removed aria-live for focused option because currently with correct aria-attributes it will be announced by screenreader natively as well as the status of this option (active or disabled). -- separated ariaContext into ariaFocused, ariaResults, ariaGuidance to avoid announcing redundant information and higlight only current change. diff --git a/packages/react-select/CHANGELOG.md b/packages/react-select/CHANGELOG.md index a00c78f411..a0efd2108e 100644 --- a/packages/react-select/CHANGELOG.md +++ b/packages/react-select/CHANGELOG.md @@ -1,5 +1,21 @@ # react-select +## 5.8.0 + +### Minor Changes + +- [`884f1c42`](https://github.com/JedWatson/react-select/commit/884f1c42549faad7cb210169223b427ad6f0c9fd) [#5758](https://github.com/JedWatson/react-select/pull/5758) Thanks [@Ke1sy](https://github.com/Ke1sy)! - 1. Added 'aria-activedescendant' for input and functionality to calculate it; + + 2. Added role 'option' and 'aria-selected' for option; + 3. Added role 'listbox' for menu; + 4. Added tests for 'aria-activedescendant'; + 5. Changes in aria-live region: + + - the instructions how to use select will be announced only one time when user focuses the input for the first time. + - instructions for menu or selected value will be announced only once after focusing them. + - removed aria-live for focused option because currently with correct aria-attributes it will be announced by screenreader natively as well as the status of this option (active or disabled). + - separated ariaContext into ariaFocused, ariaResults, ariaGuidance to avoid announcing redundant information and higlight only current change. + ## 5.7.7 ### Patch Changes diff --git a/packages/react-select/package.json b/packages/react-select/package.json index 6d4ae7bde6..05869f8e41 100644 --- a/packages/react-select/package.json +++ b/packages/react-select/package.json @@ -1,6 +1,6 @@ { "name": "react-select", - "version": "5.7.7", + "version": "5.8.0", "description": "A Select control built with and for ReactJS", "main": "dist/react-select.cjs.js", "module": "dist/react-select.esm.js",