Files
react.dev/content/warnings/invalid-aria-prop.md
2017-10-04 14:48:45 -07:00

773 B

title, layout, permalink
title layout permalink
Invalid ARIA Prop Warning single warnings/invalid-aria-prop.html

The invalid-aria-prop warning will fire if you attempt to render a DOM element with an aria-* prop that does not exist in the Web Accessibility Initiative (WAI) Accessible Rich Internet Application (ARIA) specification.

  1. If you feel that you are using a valid prop, check the spelling carefully. aria-labelledby and aria-activedescendant are often misspelled.

  2. React does not yet recognize the attribute you specified. This will likely be fixed in a future version of React. However, React currently strips all unknown attributes, so specifying them in your React app will not cause them to be rendered