-
Notifications
You must be signed in to change notification settings - Fork 47.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug: aria-description is a valid ARIA property #21035
Comments
I guess the question is what React considers a "valid" aria prop:
|
Yeah, it seems they've added support for this fairly recently. |
We might also ask: “Why is react telling me what is and isn’t a valid aria attribute.” React isn’t the source of truth for that information. It sounds like the job of a linter rather than something react should warn about. |
I think it might be from a compiler. |
The reason is that they're often misspelled so on the whole it's beneficial to warn for unknown ones. I'll merge the PR. |
Fixed by #22142. Will appear in 18. |
React version: 16.x
Steps To Reproduce
render(<div aria-description="Description" />)
Link to code example:
flems link
The current behavior
The expected behavior
Nothing. It's part of WAI-ARIA 1.3
https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Annotations
The text was updated successfully, but these errors were encountered: