Skip to content

Commit f75cf9c

Browse files
mahyarebgaearon
authored andcommitted
Add aria-description to the list of known ARIA attributes (facebook#22142)
* Update validAriaProperties.js https://w3c.github.io/aria/#aria-description is a valid aria property. * Sort alphabetically Co-authored-by: Dan Abramov <[email protected]>
1 parent 2ff6bc4 commit f75cf9c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/react-dom/src/shared/validAriaProperties.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
const ariaProperties = {
99
'aria-current': 0, // state
10+
'aria-description': 0,
1011
'aria-details': 0,
1112
'aria-disabled': 0, // state
1213
'aria-hidden': 0, // state

0 commit comments

Comments
 (0)