Reactiflux
Reactiflux

help-threads-react

Root Question Message

ScriptyChris
ScriptyChris3/4/2022
React ARIA prop warning
ScriptyChris
ScriptyChris3/4/2022
Hey, is there any way to workaround (suppress) the React's "ARIA invalid prop warning"?
https://reactjs.org/warnings/invalid-aria-prop.html
I am trying to use aria-description https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-description
, but my React version doesn't seem to support it (hence the error), because as i can see on React's GitHub, the support was added in React v18 (i am using v16 and currently not wanting to update)
https://github.com/facebook/react/issues/21035#issuecomment-913818467
https://github.com/facebook/react/pull/22142/files

Is there any way to workaround the warning? Despite it seems to be "just a warning", it looks like an error, so i'd rather not have it showing at all
ScriptyChris
ScriptyChris3/4/2022
How to suppress ARIA prop warning?
ContactFrequently Asked QuestionsJoin The DiscordBugs & Feature RequestsTerms & Privacy