Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/content/warnings/invalid-aria-prop.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
title: Invalid ARIA Prop Warning
---

This 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](https://www.w3.org/TR/wai-aria-1.1/#states_and_properties).
Это предупреждение появится, если вы попытаетесь отрендерить DOM-элемент с пропом `aria-*`, которого нет в спецификации [Web Accessibility Initiative (WAI) Accessible Rich Internet Application (ARIA)](https://www.w3.org/TR/wai-aria-1.1/#states_and_properties).

1. If you feel that you are using a valid prop, check the spelling carefully. `aria-labelledby` and `aria-activedescendant` are often misspelled.
1. Если вы считаете, что используете допустимый проп, внимательно проверьте написание. `aria-labelledby` и `aria-activedescendant` часто пишут с ошибками.

2. If you wrote `aria-role`, you may have meant `role`.
2. Если вы написали `aria-role`, возможно, вы имели в виду `role`.

3. Otherwise, if you're on the latest version of React DOM and verified that you're using a valid property name listed in the ARIA specification, please [report a bug](https://github.com/facebook/react/issues/new/choose).
3. В противном случае, если вы используете последнюю версию React DOM и убедились, что используете допустимое имя свойства, перечисленное в спецификации ARIA, пожалуйста, [сообщите об ошибке](https://github.com/facebook/react/issues/new/choose).
Loading