ariaLiveMessages/LiveRegion could operate on JSX rather on strings #5196
PinkaminaDianePie
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I need to pass a string with some markup to
ariaLiveMessages
prop, so the content of ariaLiveRegion will be something likeOption <span lang="fr">Français</span> selected
. Currently, ariaLiveMessages and LiveRegion operate on the concatenation of strings instead, so I haveOption [object Object] selected
. If all logic would be based on JSX, it would be easier to provide internationalization support for react-select.Beta Was this translation helpful? Give feedback.
All reactions