Skip to content

Commit 380284a

Browse files
mahyarebgaearon
andauthored
Add aria-description to the list of known ARIA attributes (#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 c46c073 commit 380284a

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)