Screen Reader announced incorrect result number when an option is selected #4363
Unanswered
derekhcchou
asked this question in
Q&A
Replies: 1 comment 1 reply
-
@derekhcchou sorry for the long delay. There is currently a I apologize for the inconvenience for this, but until we get a fix in place, it would be possible to track/control the const [menuOpen, setMenuOpen] = useState(false);
const onMenuOpen => setMenuOpen(true);
const onMenuClose => setMenuOpen(false);
const screenReaderStatus = ({ count }) => (
menuOpen
? `${count} result${count !== 1 ? 's' : ''} available`
: ''
);
return <Select
onMenuOpen={onMenuOpen}
onMenuClose={onMenuClose}
screenReaderStatus={screenReaderStatus}
{...otherProps}
/> I will open an issue so that we can track this and resolve it. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am working on making the page more accessible but have been struggling on this issue for several days. I created a regular element and had most of the required aria attributes in it. When testing it, I turned on VoiceOver on Mac and run the application on Google Chrome. When one of the option was selected and the dropdown list collapsed, the screen reader read: "0 results available. Select Option Dropdown List is focused .....". Why is it saying "0 results available" from the script even though there are multiple options in the dropdown? Or is there any way to remove this part from the script? Thanks a lot for helping me!!
Beta Was this translation helpful? Give feedback.
All reactions