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",