Skip to content

Commit

Permalink
Add aria-description to the list of known ARIA attributes (facebook#2…
Browse files Browse the repository at this point in the history
…2142)

* Update validAriaProperties.js

https://w3c.github.io/aria/#aria-description is a valid aria property.

* Sort alphabetically

Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
  • Loading branch information
2 people authored and zhengjitf committed Apr 15, 2022
1 parent 2ff6bc4 commit f75cf9c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/react-dom/src/shared/validAriaProperties.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

const ariaProperties = {
'aria-current': 0, // state
'aria-description': 0,
'aria-details': 0,
'aria-disabled': 0, // state
'aria-hidden': 0, // state
Expand Down

0 comments on commit f75cf9c

Please sign in to comment.