dynamic accessibility attributes #1853
Unanswered
shh8te
asked this question in
Questions & Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey there! How can I set accessibility attributes like
aria-invalid
which should change fromfalse
totrue
if I have any validation errors on the editor?I've found out that I can pass dependency array to
useEditor
, but every time it's firing it's burns all the content, is there any elegant solutions or all I have to do is to store the content somewhere and then pass it down to the new editor instance?P.S.: the end goal of this is to make screen readers announce that this field is invalid
Beta Was this translation helpful? Give feedback.
All reactions