diff --git a/semcore/select/CHANGELOG.md b/semcore/select/CHANGELOG.md index 61a00140e5..f05faa9107 100644 --- a/semcore/select/CHANGELOG.md +++ b/semcore/select/CHANGELOG.md @@ -2,6 +2,12 @@ CHANGELOG.md standards are inspired by [keepachangelog.com](https://keepachangelog.com/en/1.0.0/). +## [4.37.0] - 2024-04-10 + +### Fixed + +- Multiselect interactions were not annotated properly by screen readers when select was used with `options` prop. + ## [4.36.2] - 2024-04-10 ### Fixed diff --git a/semcore/select/__tests__/index.test.tsx b/semcore/select/__tests__/index.test.tsx index 99559ff411..9fe2d10f4f 100644 --- a/semcore/select/__tests__/index.test.tsx +++ b/semcore/select/__tests__/index.test.tsx @@ -284,6 +284,31 @@ describe('Select Trigger', () => { const results = await axe(container); expect(results).toHaveNoViolations(); }); + test('multiselect a11y', async () => { + vi.useFakeTimers(); + const options = [ + { + value: '1', + children: 'Option 1', + label: 'Option 1', + }, + { + value: '2', + children: 'Option 2', + label: 'Option 2', + }, + ]; + const { container } = render( +