Repro link: https://codesandbox.io/s/react-select-v5-sandbox-aria-context-7bcp8l?file=/example.js
This issue is a follow-up of #5083
- There are 10 options in total (example number).
- A search phrase is entered (e.g., "o"), the dropdown is filtered, and only 4 options are available now.
SR will read:
option Ocean selected, 1 of 4. 4 results available for search term o
The numbers correctly reflect post-filtering results, but the context about the total number of options is missing.
Could we update the test to something like this:
option Ocean selected, 1 of 4. 4 results available out of 10 for search term o...
Could we add out of {totalOptions} after the results available?
On a separate note, I can create an MR with the requested feature.
Repro link: https://codesandbox.io/s/react-select-v5-sandbox-aria-context-7bcp8l?file=/example.js
This issue is a follow-up of #5083
SR will read:
The numbers correctly reflect post-filtering results, but the context about the total number of options is missing.
Could we update the test to something like this:
Could we add
out of {totalOptions}after theresults available?On a separate note, I can create an MR with the requested feature.