Skip to content
Discussion options

You must be logged in to vote

This announces both of them for me https://codesandbox.io/p/devbox/rac-combobox-requests-status-forked-58xc3q?file=%2Fsrc%2Fcomponents%2FSearchBarList.tsx%3A26%2C28
But only when I have VO hints turned off, those seem to take some level of precedence over the live announcements sometimes, but not always.

Btw, you don't need both live=polite and role=alert, a role=alert is already live=assertive, see https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Roles/alert_role

If things still aren't announcing, try again to render whatever the live region is, THEN, after some delay, add the message (like I do in the codesandbox). If you need to show the message within a shorte…

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@GustavoHenriqueP
Comment options

@snowystinger
Comment options

@GustavoHenriqueP
Comment options

@snowystinger
Comment options

Answer selected by GustavoHenriqueP
@GustavoHenriqueP
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants